aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java b/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
index e7d86273..f109a62f 100644
--- a/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
+++ b/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
@@ -21,6 +21,8 @@
*/
package org.onap.aai.introspection.tools;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
import org.onap.aai.introspection.Introspector;
import org.onap.aai.introspection.Loader;
import org.onap.aai.parsers.uri.URIToObject;
@@ -28,6 +30,7 @@ import org.onap.aai.parsers.uri.URIToObject;
import java.net.URI;
public class InjectKeysFromURI implements IssueResolver {
+ private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(InjectKeysFromURI.class);
private URI uri = null;
private Loader loader = null;
@@ -59,7 +62,7 @@ public class InjectKeysFromURI implements IssueResolver {
result = true;
}
} catch (Exception e) {
- //log something probably
+ LOGGER.error(e.getMessage(),e);
result = false;
}
}