diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-08 11:00:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-08 11:00:30 +0000 |
commit | 9f2fe03607ab1ef6797f27c7ed2e10a1d1604a1c (patch) | |
tree | 1c22152347091cb837862e9856b8b69b98135766 /kubernetes/msb/charts/msb-eag/resources/config/logback.xml | |
parent | 76470892235c002de48b0408f1421c14ae3d321e (diff) | |
parent | 606d2a99afc9e7a50f1a2f723504c4ca2c060992 (diff) |
Merge "[MSB] Add logs to STDOUT"
Diffstat (limited to 'kubernetes/msb/charts/msb-eag/resources/config/logback.xml')
-rw-r--r-- | kubernetes/msb/charts/msb-eag/resources/config/logback.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/msb/charts/msb-eag/resources/config/logback.xml b/kubernetes/msb/charts/msb-eag/resources/config/logback.xml index 49d5e64896..6dc4443d6e 100644 --- a/kubernetes/msb/charts/msb-eag/resources/config/logback.xml +++ b/kubernetes/msb/charts/msb-eag/resources/config/logback.xml @@ -41,6 +41,12 @@ <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" /> <property name="debugLogDirectory" value="${debugDir}/${componentName}/${subComponentName}" /> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>${errorPattern}</pattern> + </encoder> + </appender> + <appender name="EELFAudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${logDirectory}/${auditLogName}.log</file> @@ -125,6 +131,7 @@ <root level="INFO"> <appender-ref ref="asyncEELFDebug" /> + <appender-ref ref="STDOUT" /> </root> </configuration> |