----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4732/#review7245 -----------------------------------------------------------
/trunk/src/java/org/apache/hcatalog/common/HCatLogUtil.java <https://reviews.apache.org/r/4732/#comment16002> should you copy slf4j's style? If so we could change the signature to logList(Logger logger, Level level, List<?> list, String format, Object[] args) ? /trunk/src/java/org/apache/hcatalog/common/HCatUtil.java <https://reviews.apache.org/r/4732/#comment15998> you forgot to remove this doc? - Francis On 2012-04-18 00:37:40, Vandana Ayyalasomayajula wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/4732/ > ----------------------------------------------------------- > > (Updated 2012-04-18 00:37:40) > > > Review request for hcatalog, Sushanth Sowmyan, Francis Liu, and Thomas. > > > Summary > ------- > > We need to do the following things: > > + Use log4j across the board > + Introduce a class with methods to help logging, refactoring away the bunch > of these functions in HCatUtil right now > + Instrument debug logging with isLogEnabled checks on the log level > + remove all instances of commented code whose purpose was for debug logs > > > This addresses bug hcatalog-68. > https://issues.apache.org/jira/browse/hcatalog-68 > > > Diffs > ----- > > /trunk/ivy.xml 1327273 > > /trunk/src/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java > 1327273 > /trunk/src/java/org/apache/hcatalog/common/HCatLogUtil.java PRE-CREATION > /trunk/src/java/org/apache/hcatalog/common/HCatUtil.java 1327273 > /trunk/src/java/org/apache/hcatalog/data/HCatRecordObjectInspector.java > 1327273 > > /trunk/src/java/org/apache/hcatalog/data/HCatRecordObjectInspectorFactory.java > 1327273 > /trunk/src/java/org/apache/hcatalog/data/HCatRecordSerDe.java 1327273 > /trunk/src/java/org/apache/hcatalog/data/JsonSerDe.java 1327273 > > /trunk/src/java/org/apache/hcatalog/mapreduce/DefaultOutputCommitterContainer.java > 1327273 > /trunk/src/java/org/apache/hcatalog/mapreduce/HCatRecordReader.java 1327273 > /trunk/src/java/org/apache/hcatalog/mapreduce/HCatSplit.java 1327273 > /trunk/src/java/org/apache/hcatalog/mapreduce/InitializeInput.java 1327273 > /trunk/src/test/org/apache/hcatalog/data/HCatDataCheckUtil.java 1327273 > /trunk/src/test/org/apache/hcatalog/data/TestJsonSerDe.java 1327273 > > Diff: https://reviews.apache.org/r/4732/diff > > > Testing > ------- > > Unit tests pass. Log messages verified from test logs. > > > Thanks, > > Vandana > >
