From b5309562c880a4848aa7ff4d12db676566e30d81 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 7 Sep 2007 09:07:31 +0000 Subject: added $ModDir config directive --- doc/rsconf1_moddir.html | 27 +++++++++++++++++++++++++++ doc/rsconf1_modload.html | 3 +++ doc/rsyslog_conf.html | 6 +++++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 doc/rsconf1_moddir.html (limited to 'doc') diff --git a/doc/rsconf1_moddir.html b/doc/rsconf1_moddir.html new file mode 100644 index 00000000..36f6701e --- /dev/null +++ b/doc/rsconf1_moddir.html @@ -0,0 +1,27 @@ + + +rsyslog.conf file + + +

$ModDir

+

Type: global configuration directive

+

Default: system default for user libraries, e.g. +/usr/local/lib/rsyslog/

+

Description:

+

Provides the default directory in which loadable modules reside. This may be +used to specify an alternate location that is not based on the system default. +If the system default is used, there is no need to specify this directive. Plese +note that it is vitally important to end the path name with a slash, else module +loads will fail.

+

Sample:

+

$ModDir /usr/rsyslog/libs/  # note the trailing slash!

+ +

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

+

This documentation is part of the +rsyslog project.
+Copyright © 2007 by Rainer Gerhards and +Adiscon. Released under the GNU GPL +version 2 or higher.

+ + \ No newline at end of file diff --git a/doc/rsconf1_modload.html b/doc/rsconf1_modload.html index 48bb8ab0..cd0816c4 100644 --- a/doc/rsconf1_modload.html +++ b/doc/rsconf1_modload.html @@ -11,6 +11,9 @@ 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.

+

Modules must be present in the system default destination for rsyslog +modules. You can also set the direcotry via the +$ModDir directive.

Sample:

$ModLoad MySQL  # load MySQL functionality

diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index b596ee09..ec99a600 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -7,7 +7,10 @@

This document is currently being enhanced. Please pardon its current appearance.

Rsyslogd is configured via the rsyslog.conf file, typically found in -/etc. By default, rsyslogd reads the file /etc/rsyslog.conf.

+/etc. By default, rsyslogd reads the file /etc/rsyslog.conf. This may be changed +by a command line option.

+

+Configuration file examples can be found in the rsyslog wiki.

While rsyslogd contains enhancements over standard syslogd, efforts have been made to keep the configuration file as compatible as possible. While, for obvious reasons, enhanced features require a @@ -39,6 +42,7 @@ a description.

  • $FileOwner
  • $IncludeConfig
  • $MainMsgQueueSize
  • +
  • $ModDir
  • $ModLoad
  • $RepeatedMsgReduction
  • $ResetConfigVariables
  • -- cgit