Robert,

Thank you so much for your reply.  Here is my configuration:

[cid:image002.jpg@01D6F490.D200BCE0]

Thanks

Yonit



-----Original Message-----
From: Robert Munteanu <romb...@apache.org>
Sent: Wednesday, January 27, 2021 8:13 AM
To: users@sling.apache.org
Subject: Re: Sling Log Rotation Pattern '.'yyyy-MM-dd-a



Warning External Email:





Hi Yonit,



On Fri, 2021-01-22 at 21:00 +0000, Yonit David wrote:

> Hello!

>

> Has anyone been successful in getting the sling log rotation pattern

> for twice a day - at noon and at midnight to actually work?  '.'yyyy-

> MM-dd-a "

>

>

> Other patterns work as expected, but this one seems to just rotate

> once a day at midnight with the addition of AM or PM on the filepath

> instead of actually generating 2 per day.



I haven't tried it myself. Can you share your configuration? Maybe someone can 
spot something there. And FWIW, Sling logging configuration is based on logback 
[1], so if it works there it should with Sling as well.



Thanks,

Robert



[1]: https://logback.qos.ch/


Reply via email to