Skip to content

Commit

Permalink
bugfix: debug or trace logging level now properly logs all worker loops
Browse files Browse the repository at this point in the history
  • Loading branch information
lucienlu-aws committed Jul 25, 2024
1 parent bbc0541 commit 74fc09a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1205,8 +1205,8 @@ private boolean isInfoEnabled() {

private void resetInfoLogging() {
if (infoReporting) {
// We just logged at INFO level for a pass through worker loop
if (LOG.isInfoEnabled()) {
// We just logged at minimum INFO level for a pass through worker loop
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 74fc09a

Please sign in to comment.