You can omit the "-I" option (forces monit to run in foreground) ... start it 
just with "-v" - it always logs the output, provided the "set logfile" 
statement is present.

Regards,
Martin


> On 30 Jul 2016, at 09:31, Anthony Griffiths <[email protected]> wrote:
> 
> is there a way to increase the monit log verbosity? I know one can
> start monit with 'monit -Iv' but that logs to console and I'd prefer
> to log to the log file. In monit.conf tried 'set logfile -v
> /var/log/monit.log' but that gave an error.
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to