[syslog-ng]Issues logging into MySQL

Ronnie Clark syslog-ng@lists.balabit.hu
Tue, 16 Nov 2004 08:32:34 -0800 (PST)


Hello all, 

I have a system loaded with FreeBSD 4.10 STABLE and
syslog-ng, logging into MySQL. I have used the
templates for syslog-ng and syslog-ng2. The issue is
that now the time and machine name fields are correct,
but the first few characters of the actual message are
being chopped off. 
Examples: 
yslog-ng version 1.6.5 going down
eboot by rclark:
AD SU rclark to root on /dev/ttyv0
TATS: dropped 0

Is there a fix for this? 

I also have tried to compile and load the same
sqlsyslogd for syslog-ng on FreeBSD 5.3, but get the
following errors:
sqlsyslogd.c: In function `usage':
sqlsyslogd.c:38: error: missing terminating "
character
sqlsyslogd.c:39: error: stray '\' in program
sqlsyslogd.c:39: error: syntax error before "n"
sqlsyslogd.c:39: error: stray '\' in program
sqlsyslogd.c:39: error: missing terminating "
character
sqlsyslogd.c: In function `main':
sqlsyslogd.c:162: error: missing terminating "
character
sqlsyslogd.c:163: error: syntax error before '%' token
sqlsyslogd.c:163: error: stray '\' in program
sqlsyslogd.c:163: error: missing terminating "
character
sqlsyslogd.c:191: error: missing terminating "
character
sqlsyslogd.c:192: error: syntax error before '%' token
sqlsyslogd.c:192:42: warning: character constant too
long for its type
sqlsyslogd.c:192:54: warning: multi-character
character constant
sqlsyslogd.c:192: error: missing terminating "
character
*** Error code 1

Anyone else have this running on FreeBSD 5.3 Release
or STABLE?

Thanks in advance,
Ron Clark


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com