summaryrefslogtreecommitdiffstats
path: root/sample.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-07-20 13:30:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-07-20 13:30:26 +0000
commitabce3af3e1e6aa0896a986b674aa379f31719f6c (patch)
treef54bb3e87e1fd31148933385c982ab09822814be /sample.conf
parent3203cf4458d4f667383f8689a76b87f93c9e50a4 (diff)
downloadrsyslog-abce3af3e1e6aa0896a986b674aa379f31719f6c.zip
rsyslog-abce3af3e1e6aa0896a986b674aa379f31719f6c.tar.gz
rsyslog-abce3af3e1e6aa0896a986b674aa379f31719f6c.tar.xz
(hopefully) -to be tested- fixed the db semicolon bug. Also build a
somewhat better TCP sender.
Diffstat (limited to 'sample.conf')
-rw-r--r--sample.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/sample.conf b/sample.conf
index 39f388e..d24a821 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.