From ba09bcdada083deae5b3b3c0da0258bae92aeb9f Mon Sep 17 00:00:00 2001 From: witgo Date: Tue, 8 Apr 2014 10:25:41 +0800 Subject: [PATCH] remove set the parquet log level --- .../scala/org/apache/spark/sql/parquet/ParquetRelation.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetRelation.scala b/sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetRelation.scala index 97be7893b3b37..603f1c4ad4a68 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetRelation.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetRelation.scala @@ -86,7 +86,8 @@ private[sql] object ParquetRelation { // 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) + // TODO: Need to set the log level ? + // if(parquetLogger.getLevel != null) parquetLogger.setLevel(null) if(!parquetLogger.getUseParentHandlers) parquetLogger.setUseParentHandlers(true) }