diff options
author | Michael Biebl <biebl@debian.org> | 2008-07-18 16:41:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-22 12:24:16 +0200 |
commit | 9b59581a6f7d161c7aafbc3300689337939bb382 (patch) | |
tree | 9b000f97ffa64be57fae549e43d742b0128323db /doc/rsyslog_high_database_rate.html | |
parent | 22f6e935f75514d3bf63fdc42d296c9e6b7b2b4c (diff) | |
download | rsyslog-9b59581a6f7d161c7aafbc3300689337939bb382.tar.gz rsyslog-9b59581a6f7d161c7aafbc3300689337939bb382.tar.bz2 rsyslog-9b59581a6f7d161c7aafbc3300689337939bb382.zip |
use the $ModLoad syntax consistently.
Update the documentation to use the new, preferred $ModLoad syntax:
- no more MySQL
- name of the in/output plugin without the trailing .so
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'doc/rsyslog_high_database_rate.html')
-rw-r--r-- | doc/rsyslog_high_database_rate.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/rsyslog_high_database_rate.html b/doc/rsyslog_high_database_rate.html index 5b0a29ae..158a4df6 100644 --- a/doc/rsyslog_high_database_rate.html +++ b/doc/rsyslog_high_database_rate.html @@ -72,10 +72,11 @@ restarts, so even a reboot of the system will not cause any message loss.</p> disk queue and then configure your action. There is nothing else to do. With the following simple config file, you log anything you receive to a MySQL database and have buffering applied automatically.</p> -<textarea rows="11" cols="80">$ModLoad ommysql.so # load the output driver (use ompgsql.so for PostgreSQL) -$ModLoad imudp.so # network reception -$UDPServerRun 514 # start a udp server at port 514 -$ModLoad imuxsock.so # local message reception +<textarea rows="11" cols="80"> +$ModLoad ommysql # load the output driver (use ompgsql for PostgreSQL) +$ModLoad imudp # network reception +$UDPServerRun 514 # start a udp server at port 514 +$ModLoad imuxsock # local message reception $WorkDirectory /rsyslog/work # default location for work (spool) files $MainMsgQueueFileName mainq # set file name, also enables disk mode @@ -100,10 +101,11 @@ a single database or send messages reliably to another host, you can do all of this on their own queues, de-coupling their processing speeds.</p> <p>The configuration for the de-coupled database write involves just a few more commands:</p> -<textarea rows="11" cols="80">$ModLoad ommysql.so # load the output driver (use ompgsql.so for PostgreSQL) -$ModLoad imudp.so # network reception -$UDPServerRun 514 # start a udp server at port 514 -$ModLoad imuxsock.so # local message reception +<textarea rows="11" cols="80"> +$ModLoad ommysql # load the output driver (use ompgsql for PostgreSQL) +$ModLoad imudp # network reception +$UDPServerRun 514 # start a udp server at port 514 +$ModLoad imuxsock # local message reception $WorkDirectory /rsyslog/work # default location for work (spool) files |