| | |
| | | <configuration debug="false" scan="true" scanPeriod="1 seconds"> |
| | | |
| | | <contextName>logback</contextName> |
| | | <property name="log.path" value="/sda2/data/applogs/xxl-job/xxl-job-admin.log"/> |
| | | <property name="xxl-job-log.path" value="/data/applogs/xxl-job/xxl-job-admin.log"/> |
| | | |
| | | <appender name="console" class="ch.qos.logback.core.ConsoleAppender"> |
| | | <encoder> |
| | |
| | | </appender> |
| | | |
| | | <appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| | | <file>${log.path}</file> |
| | | <file>${xxl-job-log.path}</file> |
| | | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| | | <fileNamePattern>${log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern> |
| | | <fileNamePattern>${xxl-job-log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern> |
| | | </rollingPolicy> |
| | | <encoder> |
| | | <pattern>%date %level [%thread] %logger{36} [%file : %line] %msg%n |