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 (#1371)

* bugfix: debug or trace logging level now properly logs all worker loops
  • Loading branch information
lucienlu-aws authored Jul 26, 2024
1 parent bbc0541 commit 51ef718
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,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 51ef718

Please sign in to comment.