Skip to content

Commit

Permalink
bugfix: debug or trace logging level now properly logs all worker loo…
Browse files Browse the repository at this point in the history
…ps (awslabs#1372)
  • Loading branch information
lucienlu-aws authored Jul 26, 2024
1 parent 1c0c41c commit 0478575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ private boolean isInfoEnabled() {
private void resetInfoLogging() {
if (infoReporting) {
// We just logged at INFO level for a pass through worker loop
if (log.isInfoEnabled()) {
if (!log.isDebugEnabled() && !log.isTraceEnabled()) {
infoReporting = false;
nextReportTime = System.currentTimeMillis() + reportIntervalMillis;
} // else is DEBUG or TRACE so leave reporting true
Expand Down

0 comments on commit 0478575

Please sign in to comment.