summaryrefslogtreecommitdiffstats
path: root/doc/rsconf1_modload.html
blob: c9b4294177ddfd411e5025b40cb266d37501f1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
<head>
<title>rsyslog.conf file</title>
</head>
<body>
<h2>$ModLoad</h2>
<p><b>Type:</b> global configuration directive</p>
<p><b>Default:</b> </p>
<p><b>Description:</b></p>
<p>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.</p>
<p>Modules must be present in the system default destination for rsyslog 
modules. You can also set the directory via the <a href="rsconf1_moddir.html">
$ModDir</a> directive.</p>
<p>If a full path name is specified, the module is loaded from that path. The 
default module directory is ignored in that case.</p>
<p><b>Sample:</b></p>
<p><code><b>$ModLoad MySQL&nbsp; # load MySQL functionality<br>
$ModLoad /rsyslog/modules/somemodule.so # load a module via absolute path</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>