Skip to content
Snippets Groups Projects
Commit 5c47db06 authored by depend's avatar depend Committed by Andrew Or
Browse files

[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.
parent 2c170dd3
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ private[spark] class SizeBasedRollingPolicy( ...@@ -113,7 +113,7 @@ private[spark] class SizeBasedRollingPolicy(
/** Should rollover if the next set of bytes is going to exceed the size limit */ /** Should rollover if the next set of bytes is going to exceed the size limit */
def shouldRollover(bytesToBeWritten: Long): Boolean = { def shouldRollover(bytesToBeWritten: Long): Boolean = {
logInfo(s"$bytesToBeWritten + $bytesWrittenSinceRollover > $rolloverSizeBytes") logDebug(s"$bytesToBeWritten + $bytesWrittenSinceRollover > $rolloverSizeBytes")
bytesToBeWritten + bytesWrittenSinceRollover > rolloverSizeBytes bytesToBeWritten + bytesWrittenSinceRollover > rolloverSizeBytes
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment