Skip to content

Commit

Permalink
enableLogForwarding note fix
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed Apr 6, 2014
1 parent edd9630 commit 8bb6ffd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ private[sql] case class ParquetRelation(val path: String)
private[sql] object ParquetRelation {

def enableLogForwarding() {
// Note: Parquet does not use forwarding to parent loggers which
// is required for the JUL-SLF4J bridge to work. Also there is
// a default logger that appends to Console which needs to be
// reset.
// Note: Logger.getLogger("parquet") has a default logger
// that appends to Console which needs to be cleared.
val parquetLogger = java.util.logging.Logger.getLogger("parquet")
parquetLogger.getHandlers.foreach(parquetLogger.removeHandler)
if(parquetLogger.getLevel != null) parquetLogger.setLevel(null)
Expand Down

0 comments on commit 8bb6ffd

Please sign in to comment.