diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-06-29 10:05:10 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-06-29 14:32:20 -0500 |
commit | 4db153845cb0671b86d77eca59d1472c454a4269 (patch) | |
tree | b21cf738207a3d9011ba1751db17bf68c85630e6 /feature-eelf | |
parent | 9216163ead0c64653544dc674992e485ad98549b (diff) |
feature-eelf: eelf-core from: 1.0.0 -> 2.0.0-oss
Issue-ID: POLICY-2387
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I29d4f07d990797a470bce0898ca67741974f1c00
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-eelf')
-rw-r--r-- | feature-eelf/pom.xml | 2 | ||||
-rw-r--r-- | feature-eelf/src/test/java/org/onap/policy/drools/eelf/test/EElfTest.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/feature-eelf/pom.xml b/feature-eelf/pom.xml index d736fb83..1e1fc6ce 100644 --- a/feature-eelf/pom.xml +++ b/feature-eelf/pom.xml @@ -97,7 +97,7 @@ <dependency> <groupId>com.att.eelf</groupId> <artifactId>eelf-core</artifactId> - <version>1.0.0</version> + <version>2.0.0-oss</version> </dependency> <dependency> <groupId>org.onap.policy.common</groupId> diff --git a/feature-eelf/src/test/java/org/onap/policy/drools/eelf/test/EElfTest.java b/feature-eelf/src/test/java/org/onap/policy/drools/eelf/test/EElfTest.java index dfa85948..10e2632a 100644 --- a/feature-eelf/src/test/java/org/onap/policy/drools/eelf/test/EElfTest.java +++ b/feature-eelf/src/test/java/org/onap/policy/drools/eelf/test/EElfTest.java @@ -114,7 +114,7 @@ public class EElfTest { assertTrue(loggers.contains(Configuration.ERROR_LOGGER_NAME)); assertTrue(loggers.contains(Configuration.METRICS_LOGGER_NAME)); - final EELFLogger eelfAuditLogger = EELFManager.getInstance().getAuditLogger(); + final EELFLogger eelfAuditLogger = EELFManager.getAuditLogger(); final Logger slf4jAuditLogger = org.slf4j.LoggerFactory.getLogger(Configuration.AUDIT_LOGGER_NAME); org.onap.policy.common.logging.flexlogger.Logger flexLogger = FlexLogger.getLogger(EElfTest.class, true); @@ -123,7 +123,7 @@ public class EElfTest { Exception testException = new IllegalStateException("exception test"); flexLogger.error("flex-logger exception", testException); - EELFManager.getInstance().getErrorLogger().error("eelf-logger exception", testException); + EELFManager.getErrorLogger().error("eelf-logger exception", testException); org.slf4j.LoggerFactory.getLogger(Configuration.ERROR_LOGGER_NAME).error("slf4j-logger", testException); |