aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-gui-docker/src/main/docker/config/logback.xml
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-03-04 14:44:21 +0000
committerGerrit Code Review <gerrit@onap.org>2022-03-04 14:44:21 +0000
commite54e656ce881207d6e0fae759dffc4f0dd38f979 (patch)
treea3f062f18c98ab10b5d9a7c4f6fd929563a0877f /packages/policy-gui-docker/src/main/docker/config/logback.xml
parent1bb84ec45c0c066652d31762fa2f1805175fa611 (diff)
parent9d0262410b833d25b14a3c8afde75be98aa15c3f (diff)
Merge "Enable console logging in policy-gui"
Diffstat (limited to 'packages/policy-gui-docker/src/main/docker/config/logback.xml')
-rw-r--r--packages/policy-gui-docker/src/main/docker/config/logback.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/policy-gui-docker/src/main/docker/config/logback.xml b/packages/policy-gui-docker/src/main/docker/config/logback.xml
index 019ae50..511bcb5 100644
--- a/packages/policy-gui-docker/src/main/docker/config/logback.xml
+++ b/packages/policy-gui-docker/src/main/docker/config/logback.xml
@@ -31,6 +31,16 @@
<property name="errorPattern" value="${debugPattern}" />
<property name="networkPattern" value="[%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%t]%m%n" />
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>INFO</level>
+ </filter>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
<appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${logDir}/${errorLog}.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
@@ -115,5 +125,6 @@
<appender-ref ref="asyncDebug" />
<appender-ref ref="asyncError" />
<appender-ref ref="asyncNetwork" />
+ <appender-ref ref="STDOUT" />
</root>
</configuration>