Hello Sergey, the patch idea is useful (filter out the real errors from other messages on the stderr). The display of the LogInfo+LogDebug is however useful when monit is running with the -vI options (verbose mode in foreground) for debug. In this case the output should be displayed to the user on the standard output, which still allows for filtering of the errors only by redirecting the standard output.
The attached patch will log the message either to stderr or stdout based on the priority. Regards, Martin
log.patch
Description: Binary data
On Sep 10, 2012, at 12:07 PM, Sergey B Kirpichev <skirpic...@gmail.com> wrote: > Hello, > > Would you like to hide priority < LOG_INFO messages from displaying on > stderr? (patch 08) > > http://anonscm.debian.org/gitweb/?p=collab-maint/monit.git;a=tree;f=debian/patches > > _______________________________________________ > monit-dev mailing list > monit-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/monit-dev
_______________________________________________ monit-dev mailing list monit-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/monit-dev