diff options
author | Sébastien Determe <sd378r@intl.att.com> | 2018-08-16 15:52:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-16 15:52:31 +0000 |
commit | 89ffa5b79c3d25ebad68dcf8988ce3d91859f092 (patch) | |
tree | f59db54f3dca5d29dfde452dfc54f7eec2aa784f /src/main/resources/logback-default.xml | |
parent | 1d8ab1c5fc108163fd70190a4f0b7cd617ad60c4 (diff) | |
parent | 9fbd0b5a8798606d00d34a93067b241ec6af552b (diff) |
Merge "Update Logging Specifications"
Diffstat (limited to 'src/main/resources/logback-default.xml')
-rw-r--r-- | src/main/resources/logback-default.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/logback-default.xml b/src/main/resources/logback-default.xml index 7e8eba5da..37cdf7637 100644 --- a/src/main/resources/logback-default.xml +++ b/src/main/resources/logback-default.xml @@ -10,6 +10,7 @@ <property name="p_mak" value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}"/> <property name="p_thr" value="%thread"/> <property name="defaultPattern" value="%nopexception${p_tim}\t${p_thr}\t${p_lvl}\t${p_log}\t${p_mdc}\t${p_msg}\t${p_exc}\t${p_mak}\t%n"/> + <property name="debugPattern" value="%nopexception${p_tim}|${p_lvl}|${p_mdc}|{p_exc}|%msg%n"/> <!-- Example evaluator filter applied against console appender --> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> @@ -20,7 +21,7 @@ <level>INFO</level> </filter> <encoder> - <pattern>${defaultPattern}</pattern> + <pattern>${debugPattern}</pattern> </encoder> </appender> @@ -51,7 +52,7 @@ <file>${logDirectory}/debug.log</file> <append>true</append> <encoder> - <pattern>${defaultPattern}</pattern> + <pattern>${debugPattern}</pattern> </encoder> <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> <fileNamePattern>${outputDirectory}/clamp/debug.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern> |