You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected every time the log roll back to the specified folder, is looking forward to every day 0 am to log rolled back, but the test found that don't take effect, only the present a log time will only take effect on arrival (TimeBasedTriggeringPolicy is so, That's why I changed the CronTriggeringPolicy), and another interesting phenomenon is that schedule="0 * * * * ?" The rollback can be performed every minute. Set schedule to "0 0 * * * ?". Or schedule="0 0 0 * * ?" Can't handle it correctly
spring-boot-starter-log4j2: 2.17.8
The text was updated successfully, but these errors were encountered:
@ppkarwasz
`
I expected every time the log roll back to the specified folder, is looking forward to every day 0 am to log rolled back, but the test found that don't take effect, only the present a log time will only take effect on arrival (TimeBasedTriggeringPolicy is so, That's why I changed the CronTriggeringPolicy), and another interesting phenomenon is that schedule="0 * * * * ?" The rollback can be performed every minute. Set schedule to "0 0 * * * ?". Or schedule="0 0 0 * * ?" Can't handle it correctly
spring-boot-starter-log4j2: 2.17.8
The text was updated successfully, but these errors were encountered: