Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogback.xml
More file actions
Latest commit
24 lines (19 loc) · 847 Bytes
/
Copy pathlogback.xml
File metadata and controls
24 lines (19 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<configurationscan="true">
<appendername="FILE"class="ch.qos.logback.core.rolling.RollingFileAppender">
<encoderclass="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{dd-MM-yyyy HH:mm:ss.SSS} [%thread] %-5level %logger{36}.%M - %msg%n</pattern>
</encoder>
<rollingPolicyclass="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/Log_%d{dd-MM-yyyy}.log</fileNamePattern>
<maxHistory>40</maxHistory>
<totalSizeCap>2GB</totalSizeCap>
</rollingPolicy>
</appender>
<rootlevel="info">
<appender-refref="FILE"/>
</root>
<loggername="com.future.function"additivity="false"level="warn">
<appender-refref="FILE"/>
</logger>
</configuration>