diff options
author | Lorraine Welch <lb2391@att.com> | 2020-03-05 15:47:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-05 15:47:51 +0000 |
commit | 0db1598e4430ed80b43d4fc00323630ea3c54d22 (patch) | |
tree | 9e8613e010660d0ec4b564598cdb12aa5bbfb806 /ecomp-sdk/epsdk-logger/src/main/java/org | |
parent | fc6b4e307a04b5d52c8fa7b3111c9834cd89e696 (diff) | |
parent | e70767c0e6262b431d62fe6c8f72e4eba4775f8f (diff) |
Merge "Implemented handlers for audit metrics error logs"
Diffstat (limited to 'ecomp-sdk/epsdk-logger/src/main/java/org')
-rw-r--r-- | ecomp-sdk/epsdk-logger/src/main/java/org/onap/portalsdk/core/logging/logic/EELFLoggerDelegate.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ecomp-sdk/epsdk-logger/src/main/java/org/onap/portalsdk/core/logging/logic/EELFLoggerDelegate.java b/ecomp-sdk/epsdk-logger/src/main/java/org/onap/portalsdk/core/logging/logic/EELFLoggerDelegate.java index a67b979b..5632534a 100644 --- a/ecomp-sdk/epsdk-logger/src/main/java/org/onap/portalsdk/core/logging/logic/EELFLoggerDelegate.java +++ b/ecomp-sdk/epsdk-logger/src/main/java/org/onap/portalsdk/core/logging/logic/EELFLoggerDelegate.java @@ -66,10 +66,13 @@ import com.att.eelf.configuration.SLF4jWrapper; public class EELFLoggerDelegate extends SLF4jWrapper implements EELFLogger { - public static final EELFLogger errorLogger = EELFManager.getInstance().getErrorLogger(); + //public static final EELFLogger errorLogger = EELFManager.getInstance().getErrorLogger(); + public static final EELFLogger errorLogger = EELFManager.getInstance().getLogger("EELFError"); + public static final EELFLogger metricsLogger = EELFManager.getInstance().getLogger("EELFMetrics"); + public static final EELFLogger auditLogger = EELFManager.getInstance().getLogger("EELFAudit"); public static final EELFLogger applicationLogger = EELFManager.getInstance().getApplicationLogger(); - public static final EELFLogger auditLogger = EELFManager.getInstance().getAuditLogger(); - public static final EELFLogger metricsLogger = EELFManager.getInstance().getMetricsLogger(); + //public static final EELFLogger auditLogger = EELFManager.getInstance().getAuditLogger(); + //public static final EELFLogger metricsLogger = EELFManager.getInstance().getMetricsLogger(); public static final EELFLogger debugLogger = EELFManager.getInstance().getDebugLogger(); // DateTime Format according to the ECOMP Application Logging Guidelines. private static final SimpleDateFormat ecompLogDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX"); @@ -520,4 +523,4 @@ public class EELFLoggerDelegate extends SLF4jWrapper implements EELFLogger { } return ""; } -}
\ No newline at end of file +} |