diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-07-04 10:52:49 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-07-04 10:52:49 +0000 |
commit | 8ab54c554dc1576e21cdf8694063db3f96e111f1 (patch) | |
tree | b07c89a49767754b9b8d09c56c1fd6962feeefa5 | |
parent | fc31836d6e30e590cec576417f290e12f6d841ee (diff) | |
download | rsyslog-8ab54c554dc1576e21cdf8694063db3f96e111f1.tar.gz rsyslog-8ab54c554dc1576e21cdf8694063db3f96e111f1.tar.xz rsyslog-8ab54c554dc1576e21cdf8694063db3f96e111f1.zip |
max message size set to 32k to support IHE
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | syslogd.c | 4 |
3 files changed, 13 insertions, 4 deletions
@@ -17,8 +17,8 @@ CC= gcc # enables the MySQL code. By default, that one is commented out # change the comment chars to activate it if you need MySQL! # In this case, also look down further to uncomment the libs -#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce $(NOLARGEFILE) -CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -I/usr/local/include $(NOLARGEFILE) +CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce $(NOLARGEFILE) +#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -I/usr/local/include $(NOLARGEFILE) LDFLAGS= -s INSTALL = install @@ -26,7 +26,7 @@ BINDIR = /usr/sbin MANDIR = /usr/share/man # Uncomment the following to use mysql. -LIBS = -lmysqlclient -L/usr/local/lib/mysql # thid define for FreeBSD +#LIBS = -lmysqlclient -L/usr/local/lib/mysql # There is one report that under an all ELF system there may be a need to # explicilty link with libresolv.a. If linking syslogd fails you may wish @@ -1,4 +1,11 @@ --------------------------------------------------------------------------- +Version 0.9.2 (RGer) +- changed the max supported message size to 32K. This is to satisfy + the needs of the IHE (Integrating the Healthcare Environment) + initiative. They use syslog for auditing and may generate messages + that large. + +--------------------------------------------------------------------------- Version 0.9.1 (RGer) - fixed code so that it compiles without errors under FreeBSD - removed now unused function "allocate_log()" from syslogd.c @@ -7,6 +7,8 @@ * - it looks liek the time stamp is missing on internally-generated * messages - but maybe we need to keep this for compatibility * reasons. + * - selector line for MySQL aborts if no template is given and + * also no semicolon is present at the end of the line * * \brief This is what will become the rsyslogd daemon. * @@ -115,7 +117,7 @@ static char sccsid[] = "@(#)rsyslogd.c 0.8 (Adiscon) 18/03/2005"; #define BSD #endif -#define MAXLINE 1024 /* maximum line length */ +#define MAXLINE 32768 /* maximum line length */ #define DEFUPRI (LOG_USER|LOG_NOTICE) #define DEFSPRI (LOG_KERN|LOG_CRIT) #define TIMERINTVL 30 /* interval for checking flush, mark */ |