Skip to content

Commit

Permalink
Fix for PR apache#195 for Java 6
Browse files Browse the repository at this point in the history
Use Java 6's recommended equivalent of Java 7's Logger.getGlobal() to retain Java 6 compatibility. See PR apache#195

Author: Sean Owen <sowen@cloudera.com>

Closes apache#334 from srowen/FixPR195ForJava6 and squashes the following commits:

f92fbd3 [Sean Owen] Use Java 6's recommended equivalent of Java 7's Logger.getGlobal() to retain Java 6 compatibility
  • Loading branch information
srowen authored and pwendell committed Apr 6, 2014
1 parent 6e88583 commit 890d63b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private[sql] object ParquetRelation {
SLF4JBridgeHandler.install()
for(name <- loggerNames) {
val logger = Logger.getLogger(name)
logger.setParent(Logger.getGlobal)
logger.setParent(Logger.getLogger(Logger.GLOBAL_LOGGER_NAME))
logger.setUseParentHandlers(true)
}
}
Expand Down

0 comments on commit 890d63b

Please sign in to comment.