Sort out the issues with the excessively verbose banner during the initialization of Logback
Fixed.
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${strongbox.vault}/logs/strongbox.log</file>
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>log_%d{yyyy-MM-dd}.%i.log</fileNamePattern>
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
- <maxFileSize>50MB</maxFileSize>
- </timeBasedFileNamingAndTriggeringPolicy>
+ <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ <fileNamePattern>strongbox_%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+
+ <fileNamePattern>strongbox-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+ <maxFileSize>128MB</maxFileSize>
+ <maxHistory>31</maxHistory>
+ <totalSizeCap>1GB</totalSizeCap>
<maxHistory>30</maxHistory>
</rollingPolicy>
</encoder>
</appender>
- <!-- Please read the following article to make yourself familiar with logback configuration details:
+ <!--
+ Please read the following article to make yourself familiar with logback configuration details:
https://logback.qos.ch/manual/configuration.html
-->
