bugfix: debug or trace logging level now properly logs all worker loops (#1372)

This commit is contained in:
lucienlu-aws 2024-07-26 10:03:46 -07:00 committed by GitHub
parent 1c0c41c4e8
commit 0478575b3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1214,7 +1214,7 @@ public class Scheduler implements Runnable {
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