aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2019-02-18 21:24:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-18 21:24:49 +0000
commit60110e809c12ff2cd067a24c7a17e3fd44b70f2e (patch)
tree0a20b5f80f48f510043aa7cf97875b0eb318161d
parent107f2d3e1fdc90cecc6cbd556208e83523bb079b (diff)
parent0085ce3b27ed93cab9e5abbef735a8d6b2759251 (diff)
Merge "Removed sysout and replaced with logger"
-rw-r--r--aai-core/src/main/java/org/onap/aai/dbgen/SchemaGenerator.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/dbgen/SchemaGenerator.java b/aai-core/src/main/java/org/onap/aai/dbgen/SchemaGenerator.java
index 1f7f5dbc..e6eb1bca 100644
--- a/aai-core/src/main/java/org/onap/aai/dbgen/SchemaGenerator.java
+++ b/aai-core/src/main/java/org/onap/aai/dbgen/SchemaGenerator.java
@@ -68,7 +68,7 @@ public class SchemaGenerator {
AAIConfig.init();
} catch (Exception ex) {
LOGGER.error(" ERROR - Could not run AAIConfig.init(). " + LogFormatTools.getStackTop(ex));
- System.out.println(" ERROR - Could not run AAIConfig.init(). ");
+ //System.out.println(" ERROR - Could not run AAIConfig.init(). ");
System.exit(1);
}
@@ -93,7 +93,6 @@ public class SchemaGenerator {
try {
edges = edgeIngestor.getAllCurrentRules();
} catch (EdgeRuleNotFoundException e) {
- e.printStackTrace();
LOGGER.error("Unable to find all rules {}", LogFormatTools.getStackTop(e));
}
@@ -188,7 +187,7 @@ public class SchemaGenerator {
String imsg = "-- About to call graphMgmt commit";
LOGGER.info(imsg);
if(backend != null){
- System.out.println("Successfully loaded the schema to " + backend);
+ LOGGER.info("Successfully loaded the schema to " + backend);
}
graphMgmt.commit();