We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
log rollingPolicy setting
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> <fileNamePattern>${log.base}/****.%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern> <maxHistory>30</maxHistory> <maxFileSize>200MB</maxFileSize> <totalSizeCap>20GB</totalSizeCap> <cleanHistoryOnStart>true</cleanHistoryOnStart> </rollingPolicy>
Found that this line of code caused,ch.qos.logback.core.rolling.helper.RollingCalendar#periodBarriersCrossed
case TOP_OF_HOUR: return (int) diff / MILLIS_IN_ONE_HOUR;
The text was updated successfully, but these errors were encountered:
I encountered the same problem, but my version is 1.2.3
When the long type is forcibly converted to the int type, it is less than 0
Sorry, something went wrong.
@liangchenm Only security issues are back-ported to the 1.2 branch. Please upgrade to logback 1.5 or later.
ceki
No branches or pull requests
log rollingPolicy setting
Found that this line of code caused,ch.qos.logback.core.rolling.helper.RollingCalendar#periodBarriersCrossed
The text was updated successfully, but these errors were encountered: