monit-general
[Top][All Lists]
Advanced

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

Re: Monit log date format configurable ?


From: Tino Hendricks
Subject: Re: Monit log date format configurable ?
Date: Wed, 12 Aug 2020 15:25:39 +0200

Hi Ani,

according to
https://mmonit.com/monit/documentation/monit.html#LOGGING
can you tell monit so use syslog where you can tailor the format to your needs.

Best

Tino

> Am 12.08.2020 um 14:25 schrieb Ani A <aniruddha.a@gmail.com>:
> 
> Hello,
> 
> The default log format of Monit has date in the form
> 
> [CET Jan  5 18:49:29]
> 
> Which is probably:
> timezone(%Z) month(%b) day(%e) Time(%T)
> 
> Is there a way to configure this, such that it aligns with other
> logs in my server ?
> All my other daemon logs are in this form:
>   2020-08-06 10:45:24.259
> 
> (It will be easier to grep and correlate logs if all logs are in the
> same format)
> 
> --
> Regards,
> A. Aniruddha
> 




reply via email to

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