diff options
author | Sunder Tattavarada <statta@att.com> | 2020-11-25 15:12:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-25 15:12:00 +0000 |
commit | 722e28620ecce86274bbd46cca9d315595767702 (patch) | |
tree | 855af066e196ce71beaa3d7b388f7db2e9c48dcb | |
parent | ff63e7f86b5f53bf05f56daa2687288c3b467e6f (diff) | |
parent | cba6e56863cd6622df76113c15404214f399a92d (diff) |
Merge "changes done to get stack trace of exception"
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java index 57b93a20..9e947e75 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java @@ -119,21 +119,21 @@ public class EPLogUtil { classLogger.logWrite(classLogger.errorLogger, Level.INFO, message, null, null); } else { - classLogger.logWrite(classLogger.errorLogger, Level.INFO, message, null, th.getMessage()); + classLogger.logWrite(classLogger.errorLogger, Level.INFO, message, null, th); } } else if (errorSeverityEnum == ErrorSeverityEnum.WARN) { if (th == null) { classLogger.logWrite(classLogger.errorLogger, Level.WARN, message, null, null); } else { - classLogger.logWrite(classLogger.errorLogger, Level.WARN, message, null, th.getMessage()); + classLogger.logWrite(classLogger.errorLogger, Level.WARN, message, null, th); } } else { if (th == null) { classLogger.logWrite(classLogger.errorLogger, Level.ERROR, message, null, null); } else { - classLogger.logWrite(classLogger.errorLogger, Level.ERROR, message, null, th.getMessage()); + classLogger.logWrite(classLogger.errorLogger, Level.ERROR, message, null, th); } } |