aboutsummaryrefslogtreecommitdiffstats
path: root/certService/src/main
diff options
context:
space:
mode:
authorawudzins <adam.wudzinski@nokia.com>2020-02-24 14:37:52 +0100
committerawudzins <adam.wudzinski@nokia.com>2020-02-24 15:03:41 +0100
commit2966e97b0b15d287c928f545b3b713d58586f444 (patch)
tree059bdeac70936dd22fafe8058c3c742526061fb5 /certService/src/main
parent2edef3c2aaafba49439e20aa13eb647c67c781d5 (diff)
Align logging
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: I35719fcc69c5227e65e273451a52c3c29cf11cfc
Diffstat (limited to 'certService/src/main')
-rw-r--r--certService/src/main/resources/log4j2.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/certService/src/main/resources/log4j2.xml b/certService/src/main/resources/log4j2.xml
index 48cc23c8..f814b4bd 100644
--- a/certService/src/main/resources/log4j2.xml
+++ b/certService/src/main/resources/log4j2.xml
@@ -14,25 +14,24 @@
<LevelRangeFilter maxLevel="ERROR" minLevel="ERROR"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-5c] %m%n"/>
<Policies>
- <SizeBasedTriggeringPolicy size="64 MB"/>
+ <SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
- <RollingFile fileName="var/log/onap/aaf/certservice/trace.log" filePattern="logs/trace-%d{yyyy-MM-dd}-%i.log" name="TRACE_LOG">
- <LevelRangeFilter maxLevel="TRACE" minLevel="ERROR"/>
+ <RollingFile fileName="var/log/onap/aaf/certservice/debug.log" filePattern="logs/debug-%d{yyyy-MM-dd}-%i.log" name="DEBUG_LOG">
+ <LevelRangeFilter maxLevel="DEBUG" minLevel="ERROR"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-5c] %m%n"/>
<Policies>
- <SizeBasedTriggeringPolicy size="64 MB"/>
+ <SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
- <DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile fileName="var/log/onap/aaf/certservice/audit.log" filePattern="logs/audit-%d{yyyy-MM-dd}-%i.log" name="AUDIT_LOG">
<LevelRangeFilter maxLevel="INFO" minLevel="INFO"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-5c] %m%n"/>
<Policies>
- <SizeBasedTriggeringPolicy size="32 MB"/>
+ <SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
@@ -48,10 +47,10 @@
<Logger name="io.micrometer" level="ERROR"/>
<Logger name="io.swagger" level="ERROR"/>
- <Root additivity="false" level="TRACE">
+ <Root additivity="false" level="DEBUG">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="ERROR_LOG"/>
- <AppenderRef ref="TRACE_LOG"/>
+ <AppenderRef ref="DEBUG_LOG"/>
<AppenderRef ref="AUDIT_LOG"/>
</Root>