Next: environ, Previous: general settings, Up: Configuration [Contents][Index]
While connected to the terminal, direvent
outputs its diagnostics and
debugging messages to the standard error. After disconnecting from the
controlling terminal it closes the first three file descriptors and directs
all its output to the syslog. When running in foreground mode, its
messages are sent both to the standard error and to the syslog.
The following configuration statement controls the syslog output:
syslog { facility string; tag string; print-priority bool; }
The statements are:
Set syslog facility. The argument is one of the following: ‘user’, ‘daemon’, ‘auth’ or ‘authpriv’, ‘mail’, ‘cron’, ‘local0’ through ‘local7’ (case-insensitive), or a facility number.
Tag syslog messages with ‘string’. Normally the messages are tagged with the program name.
Prefix each message with its priority.
An example syslog
statement:
syslog { facility local0; print-priority yes; }