From 0f6fa595431267af5550a1b937b20f68957ca33f Mon Sep 17 00:00:00 2001 From: yaworsky Date: Wed, 26 Oct 2005 04:59:51 +0000 Subject: Implemented relaying. --- doc/src/configuration.xml | 49 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) (limited to 'doc/src/configuration.xml') diff --git a/doc/src/configuration.xml b/doc/src/configuration.xml index eddd098..a29a210 100644 --- a/doc/src/configuration.xml +++ b/doc/src/configuration.xml @@ -117,6 +117,9 @@ name Required. The name of the destination. +The type of destination may be either file or relay. +It is determined by the presence of attributes file +or collector respectively. @@ -126,8 +129,8 @@ file -Required. -The pattern for the file name. +The presence of this attribute defines destination type as file. +The value of attribute is a pattern for the file name. It may contain the following format characters: @@ -156,7 +159,7 @@ rotate -Optional. +File-specific, optional. Rotate log files periodically. Possible values are: daily, @@ -175,7 +178,7 @@ size -Optional. +File-specific, optional. Log files are rotated when they grow bigger then size bytes. If size is followed by M, the size if assumed to be in megabytes. If the k is used, the size is in kilobytes. @@ -189,7 +192,7 @@ backlogs -Optional. +File-specific, optional. If rotation is turned on this attribute specifies the number of backlog files. @@ -200,7 +203,7 @@ ifempty -Optional. +File-specific, optional. Rotate the log file even if it is empty. Possible values are: yes, no. Default is yes. @@ -213,7 +216,7 @@ olddir -Optional. +File-specific, optional. Logs are moved to this directory for rotation. If value is a relative path then this directory will be located in the same directory with syslogd executable. @@ -226,7 +229,7 @@ compresscmd -Optional. +File-specific, optional. Command to use to compress log file. @@ -237,13 +240,41 @@ compressoptions -Optional. +File-specific, optional. Command line options may be passed to the compression program, if one is in use. Options may contain $PATHNAME and $FILENAME substrings which will be replaced with backlog pathname and basename respectively. + + +collector + + + +The presence of this attribute defines destination type as relay. +The value of attribute is a name or IPv4 address of the collector optionally +followed by the colon and port number. + + + + + +omit_hostname + + + +Relay-specific, optional. +Do not include source hostname in the datagramm. +Some syslog daemons by default do not rely on the hostname part of datagramm +and insert actual sender hostname in the logged message. +Note that ommiting hostname violates RFC 3164. +Possible values are: yes, no. +Default is no + + + -- cgit v1.2.3