aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authordepend <depend@gmail.com>2016-05-05 14:39:35 -0700
committerAndrew Or <andrew@databricks.com>2016-05-05 14:39:35 -0700
commit5c47db06570e65d3f5544d6f26bbdf893e275b94 (patch)
tree7cfc10daa6f7c137be1e4cf15bc0306eb0e62b96 /core
parent2c170dd3d731bd848d62265431795e1c141d75d7 (diff)
downloadspark-5c47db06570e65d3f5544d6f26bbdf893e275b94.tar.gz
spark-5c47db06570e65d3f5544d6f26bbdf893e275b94.tar.bz2
spark-5c47db06570e65d3f5544d6f26bbdf893e275b94.zip
[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.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala2
1 files changed, 1 insertions, 1 deletions
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 6e80db2f51..5c4238c038 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
}