From: Chandan Ghosh Date: Tue, 29 Jan 2019 09:12:40 +0000 (+0530) Subject: Removed sysout and replaced with logger X-Git-Tag: 1.4.1~5^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0085ce3b27ed93cab9e5abbef735a8d6b2759251;p=aai%2Faai-common.git Removed sysout and replaced with logger Removed sysout and replaced with logger Issue-ID: AAI-2085 Change-Id: I0f90b137d3d46ae80a4de2492cf335cd5016a521 Signed-off-by: Chandan Ghosh --- 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();