[logback-user] Appending an hourly log line when idle

haobo liu lhbazazazv at gmail.com
Thu Oct 31 02:05:34 CET 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20191031/fc12fd99/attachment.html>


More information about the logback-user mailing list