This is an automated email from the ASF dual-hosted git repository. skadam pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new 628fa0d PHOENIX-5946 (Addendum to use slf4j logging) (#922) 628fa0d is described below commit 628fa0db239985b2972f51459540f7513d182885 Author: Swaroopa Kadam <swaroopa.kada...@gmail.com> AuthorDate: Thu Oct 15 09:56:31 2020 -0700 PHOENIX-5946 (Addendum to use slf4j logging) (#922) --- .../main/java/org/apache/phoenix/schema/SchemaExtractionTool.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phoenix-tools/src/main/java/org/apache/phoenix/schema/SchemaExtractionTool.java b/phoenix-tools/src/main/java/org/apache/phoenix/schema/SchemaExtractionTool.java index bf07534..c4244d4 100644 --- a/phoenix-tools/src/main/java/org/apache/phoenix/schema/SchemaExtractionTool.java +++ b/phoenix-tools/src/main/java/org/apache/phoenix/schema/SchemaExtractionTool.java @@ -31,11 +31,13 @@ import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; -import java.util.logging.Logger; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class SchemaExtractionTool extends Configured implements Tool { - private static final Logger LOGGER = Logger.getLogger(SchemaExtractionTool.class.getName()); + private static final Logger LOGGER = LoggerFactory.getLogger(SchemaExtractionTool.class); private static final Option HELP_OPTION = new Option("h", "help", false, "Help"); private static final Option TABLE_OPTION = new Option("tb", "table", true, @@ -59,6 +61,7 @@ public class SchemaExtractionTool extends Configured implements Tool { SchemaExtractionProcessor processor = new SchemaExtractionProcessor(tenantId, conf, pSchemaName, pTableName); output = processor.process(); + LOGGER.info("Extracted DDL: " + output); return 0; }