-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daily rollover simply not work #198
Comments
The rollover would not automatically occur at midnight without a log event. This is documented in the notes here:
For example, if the app started at 11pm, and the next log event occurred at 2am, the log file would rollover at 2am. If you want the file to rollover at midnight, you'd have to log something at that time. |
Sorry, I already did it and it just not work. I had tried TimeBasedRollingPolicy, SizeAndTimeBasedRollingPolicy. The rollover may happen in 8:00 or 10:00 something, just not at 00:00. The file for example, 2019-06-04.log would contains log in 2019-06-05. |
Please provide reproduction steps, including the logback configuration (as prescribed in the bug report template). |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
All daily rollover just simply don't work. It would rollover at other timing that is not on 00:00:00. I waste a lot of time here but failed.
The text was updated successfully, but these errors were encountered: