change logging level (#799)

This commit is contained in:
Michal Posacki 2021-03-30 08:28:48 +02:00
parent 4fde788414
commit 4b815e5935

View file

@ -217,7 +217,7 @@ public class ProcessTask implements ConsumerTask {
} catch (Exception e) { } catch (Exception e) {
log.error("ShardId {}: Application processRecords() threw an exception when processing shard ", log.error("ShardId {}: Application processRecords() threw an exception when processing shard ",
shardInfoId, e); shardInfoId, e);
log.error("ShardId {}: Skipping over the following data records: {}", shardInfoId, records); log.debug("ShardId {}: Skipping over the following data records: {}", shardInfoId, records);
} finally { } finally {
MetricsUtil.addLatency(scope, RECORD_PROCESSOR_PROCESS_RECORDS_METRIC, startTime, MetricsLevel.SUMMARY); MetricsUtil.addLatency(scope, RECORD_PROCESSOR_PROCESS_RECORDS_METRIC, startTime, MetricsLevel.SUMMARY);
MetricsUtil.endScope(scope); MetricsUtil.endScope(scope);