set logfile Name of a file to dump error- and status-
messages to. If syslog is specified as the
file, Monit will utilize the syslog daemon
to log messages. This can optionally be
followed by 'facility <facility>' where
facility is 'log_local0' - 'log_local7' or
'log_daemon'. If no facility is specified,
LOG_USER is used.
This PR improves the current behavior that only permits to define a log file, or syslog without any facility. It also permits to set the $syslog value to undef, and to completely disable logging.
According to
monit(1)
man pageThis PR improves the current behavior that only permits to define a log file, or syslog without any facility. It also permits to set the $syslog value to undef, and to completely disable logging.