$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. Please 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!

This documentation is part of the rsyslog project.

Copyright © 2007 by Rainer Gerhards and Adiscon. Released under the GNU GPL version 2 or higher.