Next: , Previous: Include, Up: configuration


2.2.3 Logging Statement

Syntax

     logging {
       # Set syslog facility.
       facility name;
       # Tag syslog messages with this string.
       tag text;
     }

Description

The logging block statement provides configuration for programs that use syslog for diagnostics. The default syslog facility is determined at compile time, it can be inspected using the following command:

     $ mailutils-config --info log_facility

— Configuration: facility name

Use syslog facility name. Valid argument values are: ‘user’, ‘daemon’, ‘auth’, ‘authpriv’, ‘mail’, ‘cron’, ‘local0’ through ‘local7’ (all names case-insensitive), or a facility number.

— Configuration: tag text

Tag syslog messages with text. By default, program name is used as syslog tag.