generated from interTwin-eu/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlogback.xml
31 lines (24 loc) · 1.07 KB
/
logback.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="30 seconds">
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<logger name="org.italiangrid.storm.webdav" level="INFO" />
<!-- Uncomment to show debug authorization information
<logger name="org.italiangrid.storm.webdav.authz.voters" level="DEBUG" />
<logger name="org.springframework.security.access" level="DEBUG" />
-->
<logger name="org.italiangrid.storm.webdav.oauth.CompositeJwtDecoder" level="DEBUG" />
<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>/var/log/teapot/storm-webdav-server-user-${user.name}.log</File>
<rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<FileNamePattern>/var/log/teapot/storm-webdav-server-user-${user.name}.log-%d{yyyyMMdd}.gz</FileNamePattern>
</rollingPolicy>
<encoder>
<pattern>${FILE_LOG_PATTERN}</pattern>
</encoder>
</appender>
<root level="WARN">
<appender-ref ref="FILE" />
</root>
</configuration>