Skip to content

Commit 5c47db0

Browse files
dependAndrew Or
authored andcommitted
[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 <[email protected]> Closes #12931 from depend/master.
1 parent 2c170dd commit 5c47db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private[spark] class SizeBasedRollingPolicy(
113113

114114
/** Should rollover if the next set of bytes is going to exceed the size limit */
115115
def shouldRollover(bytesToBeWritten: Long): Boolean = {
116-
logInfo(s"$bytesToBeWritten + $bytesWrittenSinceRollover > $rolloverSizeBytes")
116+
logDebug(s"$bytesToBeWritten + $bytesWrittenSinceRollover > $rolloverSizeBytes")
117117
bytesToBeWritten + bytesWrittenSinceRollover > rolloverSizeBytes
118118
}
119119

0 commit comments

Comments
 (0)