aboutsummaryrefslogtreecommitdiffstats
path: root/deployment-configs/src/main/resources/logger
diff options
context:
space:
mode:
authorPlummer, Brittany <brittany.plummer@att.com>2019-11-22 08:20:45 -0500
committerBenjamin, Max (mb388a) <mb388a@att.com>2019-11-22 08:20:46 -0500
commit79abe5d8bfd3c6180ec183d82077f7177e6cd494 (patch)
tree8304f6336411fd003ceb76deb60fb9d3ae6de433 /deployment-configs/src/main/resources/logger
parentdf2db9f4a7c3fccc5f617792a057d8dbc6bf9d34 (diff)
improve error log scores
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
Diffstat (limited to 'deployment-configs/src/main/resources/logger')
-rw-r--r--deployment-configs/src/main/resources/logger/logback-spring.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment-configs/src/main/resources/logger/logback-spring.xml b/deployment-configs/src/main/resources/logger/logback-spring.xml
index 607d7b1f74..831a33a490 100644
--- a/deployment-configs/src/main/resources/logger/logback-spring.xml
+++ b/deployment-configs/src/main/resources/logger/logback-spring.xml
@@ -27,7 +27,7 @@
<property name="currentTimeStamp" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;,UTC}"/>
<property name="errorPattern"
- value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%thread|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%.-5level|%X{ErrorCode}|%X{ErrorDesc}|%msg%n" />
+ value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%thread|%X{ServiceName:-Unknown}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%.-5level|%X{ErrorCode:-900}|%X{ErrorDesc:-UnknownError}|%msg%n" />
<property name="debugPattern"
value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%logger{50} - %msg%n" />