spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [SPARK-15158][CORE] downgrade shouldRollover message to debug level
Date Thu, 05 May 2016 21:39:54 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-2.0 8b4ab590c -> 19a14e841


[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 <depend@gmail.com>

Closes #12931 from depend/master.

(cherry picked from commit 5c47db06570e65d3f5544d6f26bbdf893e275b94)
Signed-off-by: Andrew Or <andrew@databricks.com>


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

Branch: refs/heads/branch-2.0
Commit: 19a14e8417cf4ced0dd0fce863d3f4a0bcf414aa
Parents: 8b4ab59
Author: depend <depend@gmail.com>
Authored: Thu May 5 14:39:35 2016 -0700
Committer: Andrew Or <andrew@databricks.com>
Committed: Thu May 5 14:39:45 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/19a14e84/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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message