|
|
|
@ -23,13 +23,13 @@
|
|
|
|
|
<!-- file logging Appender defined -->
|
|
|
|
|
<!-- ============================================================================= -->
|
|
|
|
|
<appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
|
|
<file>${LOG_PATH}/xit-framework.log</file>
|
|
|
|
|
<file>${LOG_PATH}/opst-bo.log</file>
|
|
|
|
|
<!-- <file>${LOG_PATH}/xitApplication_%d{yyyy-MM-dd}.log</file>-->
|
|
|
|
|
<encoder>
|
|
|
|
|
<pattern>[%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread] %-5level %logger{35} - %msg%n</pattern>
|
|
|
|
|
</encoder>
|
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
|
|
<fileNamePattern>${LOG_PATH}/backup/xit-framework_%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
|
|
<fileNamePattern>${LOG_PATH}/backup/opst-bo_%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
|
|
<maxFileSize>30MB</maxFileSize>
|
|
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
|
|