Repository: spark
Updated Branches:
  refs/heads/master 2c170dd3d -> 5c47db065


[SPARK-15158][CORE] downgrade shouldRollover message to debug level

## What changes were proposed in this pull request?
set log level to debug when check shouldRollover

## How was this patch tested?
It's tested manually.

Author: depend <dep...@gmail.com>

Closes #12931 from depend/master.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5c47db06
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5c47db06
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5c47db06

Branch: refs/heads/master
Commit: 5c47db06570e65d3f5544d6f26bbdf893e275b94
Parents: 2c170dd
Author: depend <dep...@gmail.com>
Authored: Thu May 5 14:39:35 2016 -0700
Committer: Andrew Or <and...@databricks.com>
Committed: Thu May 5 14:39:35 2016 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/util/logging/RollingPolicy.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5c47db06/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala 
b/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala
index 6e80db2..5c4238c 100644
--- a/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala
+++ b/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala
@@ -113,7 +113,7 @@ private[spark] class SizeBasedRollingPolicy(
 
   /** Should rollover if the next set of bytes is going to exceed the size 
limit */
   def shouldRollover(bytesToBeWritten: Long): Boolean = {
-    logInfo(s"$bytesToBeWritten + $bytesWrittenSinceRollover > 
$rolloverSizeBytes")
+    logDebug(s"$bytesToBeWritten + $bytesWrittenSinceRollover > 
$rolloverSizeBytes")
     bytesToBeWritten + bytesWrittenSinceRollover > rolloverSizeBytes
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to