<div dir="ltr">Hi,<br><div><br></div><div style>I'm unsure from the documentation but does SizeAndTimeBasedFNATP support prudent mode.</div><div style><br></div><div style>I have the following config:</div><div style><br>
</div><div style><div> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"></div><div> </div><div> <prudent>true</prudent></div><div> </div>
<div> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div><div> </div><div> <fileNamePattern>target/Test-%d{yyyy-MM-dd}.%i.log</fileNamePattern></div>
<div> </div><div> <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"></div><div> <maxFileSize>1KB</maxFileSize></div>
<div> </timeBasedFileNamingAndTriggeringPolicy></div><div><br></div><div> <maxHistory>30</maxHistory></div><div> </rollingPolicy></div><div> <encoder></div>
<div> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern></div><div> </encoder></div><div> </appender><br><br>I've tried this and logback doesn't complain and file does rollover but just wondering is the prudent flag used?</div>
<div><br></div><div><br></div></div></div>