summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/application/etc/logback.xml
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-09-04 15:14:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-04 15:14:31 +0000
commit9abed7f23417e24039d463f84156c1d9fef672f7 (patch)
tree5f8cc884094cac2dbd1fd02d64325dc5e45d457f /ms/controllerblueprints/application/etc/logback.xml
parentbae35a20cafabf78672db065e41f4018c619e863 (diff)
parent74a62bea98248a496ae032ed694e19573cd98d0b (diff)
Merge "Controller Blueprints Microservice"
Diffstat (limited to 'ms/controllerblueprints/application/etc/logback.xml')
-rw-r--r--ms/controllerblueprints/application/etc/logback.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/ms/controllerblueprints/application/etc/logback.xml b/ms/controllerblueprints/application/etc/logback.xml
index 44e9a8a1..0a75e60f 100644
--- a/ms/controllerblueprints/application/etc/logback.xml
+++ b/ms/controllerblueprints/application/etc/logback.xml
@@ -15,11 +15,18 @@
-->
<configuration>
+
+ <property name="localPattern" value="%d{HH:mm:ss.SSS} %-5level %logger{100} - %msg%n" />
+
+ <property name="defaultPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}| %msg%n" />
+
+ <property name="debugLoggerPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}|[%caller{3}]| %msg%n" />
+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
- <pattern>%d{HH:mm:ss.SSS} %-5level %logger{100} - %msg%n</pattern>
+ <pattern>${defaultPattern}</pattern>
</encoder>
</appender>