aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/logback.xml
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2017-11-10 10:04:21 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-10 10:04:21 +0000
commitf2650c8b133ff9569994eed1c6edc88af981d84c (patch)
tree0a455a96118f9a289c652109f989b6ed4aa47c5e /src/main/resources/logback.xml
parent06a84f0bc392a6a2845f7512d45af17d86f1d83b (diff)
parente0a5c40af5c32450a52347de83dc3d78c692c1ef (diff)
Merge "Fix Properties CL UI issue"
Diffstat (limited to 'src/main/resources/logback.xml')
-rw-r--r--src/main/resources/logback.xml23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index a1330e3d2..e02a320d3 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -19,7 +19,7 @@
<appender name="ERROR"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
- <level>WARN</level>
+ <level>INFO</level>
</filter>
<file>${logDirectory}/CLAMP/error.log</file>
<append>true</append>
@@ -45,16 +45,13 @@
<encoder>
<pattern>%date{"yyyy-MM-dd'T'HH:mm:ss,SSSXXX",UTC}|%X{RequestId}|%.20thread|%.-5level|%logger{36}|%msg%n</pattern>
</encoder>
- <rollingPolicy
- class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
- <maxIndex>10</maxIndex>
- <FileNamePattern>${logDirectory}/CLAMP/debug.%i.log.zip
- </FileNamePattern>
- </rollingPolicy>
- <triggeringPolicy
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDirectory}/CLAMP/debug.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
+ <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>10MB</maxFileSize>
- </triggeringPolicy>
+ </timeBasedFileNamingAndTriggeringPolicy>
+ <maxHistory>5</maxHistory>
+ </rollingPolicy>
</appender>
<appender name="AUDIT"
@@ -131,8 +128,9 @@
</appender>
<!-- CLDS related loggers -->
- <logger name="org.onap.clamp.clds" level="INFO" />
-
+ <logger name="org.onap.clamp.clds" level="INFO" additivity="true">
+ <appender-ref ref="ERROR" />
+ </logger>
<!-- EELF related loggers -->
<logger name="com.att.eelf.audit" level="INFO" additivity="false">
<appender-ref ref="asyncEELFAudit" />
@@ -250,7 +248,6 @@
<root level="WARN">
<appender-ref ref="DEBUG" />
- <appender-ref ref="ERROR" />
<appender-ref ref="STDOUT" />
</root>