Logback midday logs rotation

20 views Asked by At

Im' using logback and I need to rotate logs twice a day at midnight and mid day. Logback version 1.4.11

I configured a TimeBasedRollingPolicy with fileNamePattern "myfile-%d{yyyy-MM-dd-a}.log" The log are still rotated only at midnight !!

How to configure midday rotation ?

0

There are 0 answers