diff options
-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); } } |