GitHub user Class-New added a comment to the discussion: TimeBasedTriggeringPolicy and CronTriggeringPolicy
Because the project wants to roll the daily logs under the corresponding date directory, for example, the logs that occurred on 2025-04-02 are rolled under the folder 2025-04-02. But what I have learned is that the trigger policy of TimeBasedTriggeringPolic is that it will roll only when the next log event arrives, so if no log comes, it will not be archived, so it will be processed at 0 am every day like combining CronTriggeringPolicy GitHub link: https://github.com/apache/logging-log4j2/discussions/3587#discussioncomment-12744563 ---- This is an automatically sent email for dev@logging.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org