summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-07 09:07:31 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-07 09:07:31 +0000
commitb5309562c880a4848aa7ff4d12db676566e30d81 (patch)
treed9edcc1600a32c51277be3ead5867013a478587a
parent5b9f98ee20a245cd5245717b168d7428c6bdad31 (diff)
downloadrsyslog-b5309562c880a4848aa7ff4d12db676566e30d81.tar.gz
rsyslog-b5309562c880a4848aa7ff4d12db676566e30d81.tar.xz
rsyslog-b5309562c880a4848aa7ff4d12db676566e30d81.zip
added $ModDir config directive
-rw-r--r--doc/rsconf1_moddir.html27
-rw-r--r--doc/rsconf1_modload.html3
-rw-r--r--doc/rsyslog_conf.html6
3 files changed, 35 insertions, 1 deletions
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 @@
+<html>
+<head>
+<title>rsyslog.conf file</title>
+</head>
+<body>
+<h2>$ModDir</h2>
+<p><b>Type:</b> global configuration directive</p>
+<p><b>Default:</b> system default for user libraries, e.g.
+/usr/local/lib/rsyslog/</p>
+<p><b>Description:</b></p>
+<p>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.</p>
+<p><b>Sample:</b></p>
+<p><code><b>$ModDir /usr/rsyslog/libs/&nbsp; # note the trailing slash!</b></code></p>
+
+<p>[<a href="rsyslog_conf.html">rsyslog.conf overview</a>] [<a href="manual.html">manual
+index</a>] [<a href="http://www.rsyslog.com/">rsyslog site</a>]</p>
+<p><font size="2">This documentation is part of the
+<a href="http://www.rsyslog.com/">rsyslog</a> project.<br>
+Copyright &copy; 2007 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and
+<a href="http://www.adiscon.com/">Adiscon</a>. Released under the GNU GPL
+version 2 or higher.</font></p>
+</body>
+</html> \ 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.</p>
+<p>Modules must be present in the system default destination for rsyslog
+modules. You can also set the direcotry via the <a href="rsconf1_moddir.html">
+$ModDir</a> directive.</p>
<p><b>Sample:</b></p>
<p><code><b>$ModLoad MySQL&nbsp; # load MySQL functionality</b></code></p>
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 @@
<p><b>This document is currently being enhanced. Please pardon its current
appearance.</b></p>
<p><b>Rsyslogd is configured via the rsyslog.conf file</b>, typically found in
-/etc. By default, rsyslogd reads the file /etc/rsyslog.conf.</p>
+/etc. By default, rsyslogd reads the file /etc/rsyslog.conf. This may be changed
+by a command line option.</p>
+<p><a href="http://wiki.rsyslog.com/index.php/Configuration_Samples">
+Configuration file examples can be found in the rsyslog wiki</a>.</p>
<p>While rsyslogd contains enhancements over standard syslogd, efforts have been
made to keep the configuration file as compatible as possible. While, for
obvious reasons, <a href="features.html">enhanced features</a> require a
@@ -39,6 +42,7 @@ a description.</p>
<li><a href="rsconf1_fileowner.html">$FileOwner</a></li>
<li><a href="rsconf1_includeconfig.html">$IncludeConfig</a></li>
<li><a href="rsconf1_mainmsgqueuesize.html">$MainMsgQueueSize</a></li>
+ <li><a href="rsconf1_moddir.html">$ModDir</a></li>
<li><a href="rsconf1_modload.html">$ModLoad</a></li>
<li><a href="rsconf1_repeatedmsgreduction.html">$RepeatedMsgReduction</a></li>
<li><a href="rsconf1_resetconfigvariables.html">$ResetConfigVariables</a></li>