From 124fac07aab192ba1c988713ce484b53cb26462e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 17 Jul 2007 13:40:42 +0000 Subject: added new config params --- doc/rsyslog_conf.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index 2e781201..33742223 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -103,6 +103,25 @@ $FileCreateMode 0644
*.* /var/log/file-with-0644

As you can see, open modes depend on position in the config file. Note the first line, which is created with the hardcoded default creation mode.

+

DebugPrintTemplateList

+

Specifies whether or not the template list should be written to the debug +log. Possible values: on/off. Does not affect operation if debugging is +disabled.

+

DirCreateMode

+

This is the same as $FileCreateMode, but for directories automatically +generated.

+

DirGroup

+

Set the group for directories newly created. Please note that this setting +does not affect the group of directories already existing. The parameter is a +group name, for which the groupid is obtained by rsyslogd on startup and on +HUPing. Interim changes to the user mapping are not detected.

+

$DirGroup loggroup

+

DirOwner

+

Set the file owner for directories newly created. Please note that this +setting does not affect the owner of directories already existing. The parameter +is a user name, for which the userid is obtained by rsyslogd on startup and on +HUPing. Interim changes to the user mapping are not detected.

+

$DirOwner loguser

RepeatedMsgReduction

This directive specifies whether or not repeated messages should be reduced (this is the "Last line repeated n times" feature). If set to on, repeated messages are reduced. If set to off, every @@ -166,6 +185,32 @@ on.

  • turning on this option destroys digital signutures if such exists inside the message
  • +

    FailOnChownFailure

    +

    This option modifies behaviour of dynaFile creation. If different owners or +groups are specified for new files or directories and rsyslogd fails to set +these new owners or groups, it will log an error and NOT write to the file in +question if that option is set to "on". If it is set to "off", the error will be +ignored and processing continues. Keep in mind, that the files in this case may +be (in)accessible by people who should not have permission. The default is "on".

    +

    $FailOnChownFailure off

    +

    FileGroup

    +

    Set the group for dynaFiles newly created. Please note that this setting does +not affect the group of files already existing. The parameter is a group name, +for which the groupid is obtained by rsyslogd on startup and on HUPing. Interim +changes to the user mapping are not detected.

    +

    $FileGroup loggroup

    +

    FileOwner

    +

    Set the file owner for dynaFiles newly created. Please note that this setting +does not affect the owner of files already existing. The parameter is a user +name, for which the userid is obtained by rsyslogd on startup and on HUPing. +Interim changes to the user mapping are not detected.

    +

    $FileOwner loguser

    +

    ResetConfigVariables

    +

    Resets all configuration variables to their default value. Any settings made +will not be applied to configuration lines following the $ResetConfigVariables. +This is a good method to make sure no side-effects exists from previous +directives. This directive has no parameters.

    +

    $ResetConfigVariables

    Templates

    Templates are a key feature of rsyslog. They allow to specify any format a user might want. They are also used for dynamic file name generation. Every output in rsyslog uses templates - this holds true for files, -- cgit v1.2.3