diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2020-09-09 10:11:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-09 10:11:49 +0000 |
commit | 1904c55013a52965c4a769d3248d0d068d0eddfb (patch) | |
tree | 660a8699e8de4084e020598576225efa1964eb00 /packages | |
parent | 27d4ba1bdde932efa07837743ebf9a0b2594e1fe (diff) | |
parent | 567b68a7ed306dc85632ed09d9844700403e38bc (diff) |
Merge "[SO] Add logs to STDOUT"
Diffstat (limited to 'packages')
-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 |