[syslog-ng]Re: Welcome to the "syslog-ng" mailing list
Hernan Cortez
syslog-ng@lists.balabit.hu
Wed, 20 Oct 2004 14:23:13 -0300
Hi, I'm trying to install syslog-ng 1.6.4 in Solaris 2.7.
The binaries install and works OK, but the messages appear to be truncated.
By example the following sentece:
destination d_mysql {
file("/var/log/dblog/fulllog.$YEAR.$MONTH.$DAY.$HOUR.$MIN.$SEC"
template("INSERT INTO logs (host, facility, priority, level, tag,
date, time, program, msg)
VALUES ( '$HOST', '$FACILITY',
'$PRIORITY','$LEVEL', '$TAG','$YEAR-$MONTH-$DAY','$HOUR:$MIN:$SEC',
'$PROGRAM', \n '$MESSAGE' );\n")
owner(root) group(root) perm(0600)
dir_perm(0700) create_dirs(yes)
template-escape(yes));
};
In the log it appears without the ");\n" (last 3 characters), so the
insert in the mysql doesn't work. I do the test in with the following
destination:
template("-$MSG--")
In this case the last character "-" doesn't appear.
Any idea?
Does syslog have a buffer problem?
Thanks in advance,
HC
syslog-ng-request@lists
.balabit.hu To: hcortez@adexus.cl
Sent by: cc:
syslog-ng-admin@lists.b Subject: Welcome to the "syslog-ng" mailing list
alabit.hu
20-10-2004 14:08
Welcome to the syslog-ng@lists.balabit.hu mailing list!
To post to this list, send your email to:
syslog-ng@lists.balabit.hu
General information about the mailing list is at:
https://lists.balabit.hu/mailman/listinfo/syslog-ng
If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:
https://lists.balabit.hu/mailman/options/syslog-ng/hcortez%40adexus.cl
You can also make such adjustments via email by sending a message to:
syslog-ng-request@lists.balabit.hu
with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.
You must know your password to change your options (including changing
the password, itself) or to unsubscribe. It is:
h0e0c0i0
If you forget your password, don't worry, you will receive a monthly
reminder telling you what all your lists.balabit.hu mailing list
passwords are, and how to unsubscribe or change your options. There
is also a button on your options page that will email your current
password to you.
You may also have your password mailed to you automatically from the
Web page noted above.