monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Bug#353758: monit: suboptimal logging reduces usefulness]


From: Jan-Henrik Haukeland
Subject: Re: [Fwd: Bug#353758: monit: suboptimal logging reduces usefulness]
Date: Thu, 27 Apr 2006 19:39:07 +0200

Looks good, here's mine +1 for including it. Note that __VA_ARGS__ is only supported by C9x compilers and may be a problem with other compilers than gcc. A safer way would be to implement LogInfo() etc. as a function that wrap a call to log_log() which then can be static.

On 26. apr. 2006, at 14.38, Martin Pala wrote:

here is the patch which implements the logging priority.

It uses standard syslog priorities:
    emergency
    alert
    critical
    error
    warning
    notice
    info
    debug

--
Jan-Henrik Haukeland
Mobil +47 97141255





reply via email to

[Prev in Thread] Current Thread [Next in Thread]