diff options
author | Dominik Mizyn <d.mizyn@samsung.com> | 2020-09-08 19:44:34 +0200 |
---|---|---|
committer | Dominik Mizyn <d.mizyn@samsung.com> | 2020-09-08 19:44:34 +0200 |
commit | 567b68a7ed306dc85632ed09d9844700403e38bc (patch) | |
tree | 6ba634baa8a2ec122ddf3fca63a90f3781ea74bb /packages/docker/src/main | |
parent | 36982a7db770806b0a3e12d07686b4e3a72a0871 (diff) |
[SO] Add logs to STDOUT
This commit add STDOUT appender to root level logging.
Issue-ID: OOM-2514
Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com>
Change-Id: Ie8544aeee830af365957884819f8485037add7be
Diffstat (limited to 'packages/docker/src/main')
-rw-r--r-- | packages/docker/src/main/docker/docker-files/configs/logging/logback-spring.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/docker/src/main/docker/docker-files/configs/logging/logback-spring.xml b/packages/docker/src/main/docker/docker-files/configs/logging/logback-spring.xml index dd14091daf..e4be7094df 100644 --- a/packages/docker/src/main/docker/docker-files/configs/logging/logback-spring.xml +++ b/packages/docker/src/main/docker/docker-files/configs/logging/logback-spring.xml @@ -56,6 +56,12 @@ \t%thread \t%n" /> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>${errorPattern}</pattern> + </encoder> + </appender> + <appender name="Audit" class="ch.qos.logback.core.rolling.RollingFileAppender"> <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> @@ -186,11 +192,12 @@ <appender-ref ref="asyncMetric" /> </logger> - <root level="WARN"> + <root level="INFO"> <appender-ref ref="asyncDebug" /> <appender-ref ref="asyncError" /> <appender-ref ref="asyncAudit" /> <appender-ref ref="asyncMetric" /> + <appender-ref ref="STDOUT" /> </root> </configuration>
\ No newline at end of file |