diff options
author | Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com> | 2020-11-24 15:03:05 -0500 |
---|---|---|
committer | Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com> | 2020-11-24 15:03:16 -0500 |
commit | cba6e56863cd6622df76113c15404214f399a92d (patch) | |
tree | 33825ff353839d83b44a696bd4393d17ff191291 /ecomp-portal-BE-common/src/main | |
parent | 5ecd8fb31d9e7a8fbc2a04104ab972805b572c32 (diff) |
changes done to get stack trace of exception
Issue-ID: PORTAL-1008
Signed-off-by: Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com>
Change-Id: Ic74525329eb99479cda48977c6e519b8e25237a0
Diffstat (limited to 'ecomp-portal-BE-common/src/main')
-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); } } |