From da3b996acc97244dc1f96a47b81a06d16791efce Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 14 Aug 2007 08:33:11 +0000 Subject: reflect arrival of dynamically loadable plug-ins (namely MySQL) --- doc/rsconf1_modload.html | 7 +++++-- doc/rsyslog_conf.html | 10 ++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/rsconf1_modload.html b/doc/rsconf1_modload.html index 7108a21b..48bb8ab0 100644 --- a/doc/rsconf1_modload.html +++ b/doc/rsconf1_modload.html @@ -7,9 +7,12 @@

Type: global configuration directive

Default:

Description:

-

This currently is a dummy directive. It will support the loading of plug-ins in future releases of rsyslog supporting plug-ins. Currently, only "MySQL" is supported as parameter. This activates MySQL support (if rsyslog is compiled with MySQL functionality).

+

Dynamically loads a plug-in into rsyslog's address space and activates it. +The plug-in must obey the rsyslog module API. Currently, only MySQL is available +as a plugin, but others may create their own. A plug-in must be loaded BEFORE +any configuration file lines that reference it.

Sample:

-

$ModLoad MySQL

+

$ModLoad MySQL  # load MySQL functionality

[rsyslog.conf overview] [manual index] [rsyslog site]

diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index dcbf5dad..2089b87a 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -530,7 +530,7 @@ something strange is happening with the system. To specify this wall(1)-feature use an asterisk ("*'').

Database Table

This allows logging of the message to a database table. Currently, only MySQL -databases are supported. By default, a MonitorWare-compatible schema is required +databases are supported. By default, a MonitorWare-compatible schema is required for this to work. You can create that schema with the createDB.SQL file that came with the rsyslog package. You can also
use any other schema of your liking - you just need to define a proper template @@ -544,14 +544,12 @@ template is to be used, a semicolon followed by the template name can follow the connect information. This is as follows:

>dbhost,dbname,dbuser,dbpassword;dbtemplate

-

Important: to use the database functionality, MySQL must be enabled in the -config file BEFORE the first database table action is used. This is done by +

Important: to use the database functionality, the MySQL output module must be +loaded in the config file BEFORE the first database table action is used. This is done by placing the

$ModLoad MySQL

directive some place above the first use of the database write (we recommend -doing at the the begining of the config file). Please note that rsyslog must -also have been built with MySQL support (many packages do not do this by -default).

+doing at the the beginning of the config file).

Discard

If the discard action is carried out, the received message is immediately discarded. No further processing of it occurs. Discard has primarily been added -- cgit v1.2.3