[logback-user] migration from log4j to logback. help with specific log4j.xml property (CronTriggerPolicy>

Aniruddha Shevade ashevade at gmail.com
Mon Feb 12 19:44:47 UTC 2024

 I am trying to migrate a application form log4j to logback. I do have the
following property defined in the existing log4j2.xml file, I do not see
any such equivalent in the logback.xml.
*How do I specify something like a CronTriggerPolicy as shown below?*
Any help would be appreciated.


<RollingFile name="myLog" fileName="app.log"
*     <CronTiggerPolicy schedule="0 0 * * 1 ?" evaluateOnStartup="true">*
    <SizeBasedTriggerPolicy size="10MB"/>

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20240212/beb82083/attachment.htm>

More information about the logback-user mailing list