3
<title>rsyslog.conf file</title>
7
<p><b>Type:</b> global configuration directive</p>
8
<p><b>Default:</b> </p>
9
<p><b>Description:</b></p>
10
<p>Dynamically loads a plug-in into rsyslog's address space and activates it.
11
The plug-in must obey the rsyslog module API. Currently, only MySQL is available
12
as a plugin, but others may create their own. A plug-in must be loaded BEFORE
13
any configuration file lines that reference it.</p>
14
<p>Modules must be present in the system default destination for rsyslog
15
modules. You can also set the directory via the <a href="rsconf1_moddir.html">
16
$ModDir</a> directive.</p>
17
<p>If a full path name is specified, the module is loaded from that path. The
18
default module directory is ignored in that case.</p>
20
<p><code><b>$ModLoad MySQL # load MySQL functionality<br>
21
$ModLoad /rsyslog/modules/somemodule.so # load a module via absolute path</b></code></p>
23
<p>[<a href="rsyslog_conf.html">rsyslog.conf overview</a>] [<a href="manual.html">manual
24
index</a>] [<a href="http://www.rsyslog.com/">rsyslog site</a>]</p>
25
<p><font size="2">This documentation is part of the
26
<a href="http://www.rsyslog.com/">rsyslog</a> project.<br>
27
Copyright © 2007 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and
28
<a href="http://www.adiscon.com/">Adiscon</a>. Released under the GNU GPL
29
version 2 or higher.</font></p>