logging { # Send diagnostics to syslog. syslog boolean; # Print message severity levels. print-severity boolean; # Output only messages with a severity equal to or # greater than this one. severity string; # Set syslog facility. facility name; # Tag syslog messages with this string. tag text; }
The logging
block statement configures where the diagnostic
output goes and how verbose it is.
If ‘syslog’ is set to ‘yes’, the diagnostics will go to syslog. Otherwise, it goes to the standard error.
The default syslog facility is determined at compile time, it can be inspected using the following command (see mu info):
$ mu info log_facility
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.