summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>2020-11-24 15:03:05 -0500
committerKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>2020-11-24 15:03:16 -0500
commitcba6e56863cd6622df76113c15404214f399a92d (patch)
tree33825ff353839d83b44a696bd4393d17ff191291
parent5ecd8fb31d9e7a8fbc2a04104ab972805b572c32 (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
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/logging/logic/EPLogUtil.java6
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);
}
}