diff options
Diffstat (limited to 'src/main/java/org/openecomp/crud/logging')
-rw-r--r-- | src/main/java/org/openecomp/crud/logging/CrudServiceMsgs.java | 1 | ||||
-rw-r--r-- | src/main/java/org/openecomp/crud/logging/LoggingUtil.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/openecomp/crud/logging/CrudServiceMsgs.java b/src/main/java/org/openecomp/crud/logging/CrudServiceMsgs.java index 265f327..98cc4fa 100644 --- a/src/main/java/org/openecomp/crud/logging/CrudServiceMsgs.java +++ b/src/main/java/org/openecomp/crud/logging/CrudServiceMsgs.java @@ -43,6 +43,7 @@ public enum CrudServiceMsgs implements LogMessageEnum { INVALID_OXM_FILE, INVALID_OXM_DIR, OXM_FILE_CHANGED, + TRANSACTION, /** * Successfully loaded schema: {0} diff --git a/src/main/java/org/openecomp/crud/logging/LoggingUtil.java b/src/main/java/org/openecomp/crud/logging/LoggingUtil.java index aaa250a..2ef2772 100644 --- a/src/main/java/org/openecomp/crud/logging/LoggingUtil.java +++ b/src/main/java/org/openecomp/crud/logging/LoggingUtil.java @@ -81,7 +81,7 @@ public class LoggingUtil { (req != null) ? req.getMethod() : "Unknown", (req != null) ? req.getRequestURL().toString() : "Unknown", (req != null) ? req.getRemoteHost() : "Unknown", - Integer.toString(response.getStatus()) + " error: " + (response.getEntity() == null ? "" + Integer.toString(response.getStatus()) + " payload: " + (response.getEntity() == null ? "" : response.getEntity().toString())); MDC.clear(); } |