[logback-user] Appending an hourly log line when idle
Mat Schaffer
mat at schaffer.me
Fri Nov 1 06:33:50 CET 2019
Thanks! Will do.
-Mat
matschaffer.com
On Thu, Oct 31, 2019 at 10:05 AM haobo liu <lhbazazazv at gmail.com> wrote:
> maybe use cron in server side trigger log better.
>
> Mat Schaffer <mat at schaffer.me> 于2019年10月31日周四 上午8:41写道:
>
>> Hello all,
>>
>> I have a service which sits idle sometimes for days and doesn't log
>> anything.
>>
>> This sometimes creates confusion that the process (or log collection)
>> isn't working, but it actually just doesn't have work to do.
>>
>> Is there any logback feature that I could leverage to send an hourly
>> "MARK" if nothing has gone through the appender?
>>
>> Or should I just add something in the app itself?
>>
>> Thanks in advance!
>> -Mat
>> _______________________________________________
>> logback-user mailing list
>> logback-user at qos.ch
>> http://mailman.qos.ch/mailman/listinfo/logback-user
>
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20191101/18e4159e/attachment.html>
More information about the logback-user
mailing list