From abce3af3e1e6aa0896a986b674aa379f31719f6c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 20 Jul 2005 13:30:26 +0000 Subject: (hopefully) -to be tested- fixed the db semicolon bug. Also build a somewhat better TCP sender. --- sample.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sample.conf') diff --git a/sample.conf b/sample.conf index 39f388e3..d24a821d 100644 --- a/sample.conf +++ b/sample.conf @@ -175,7 +175,11 @@ $template dbFormat,"insert into SystemEvents (Message, Facility,FromHost, Priori *.* @172.19.2.16;RFC3164fmt # And this finally is a database action -*.* >hostname,dbname,userid,password +# The semicolon at the end is theoreticaly not necessary, +# but the current rsyslogd has a bug that makes it abort if +# it is missing. As Dennis Olvany pointed out, it would e +# extremely nice to have this semicolon in the sample conf ;) +*.* >hostname,dbname,userid,password; # It uses the default schema (MonitorWare format). The parameters # should be self-explanatory. -- cgit