bugfix: debug or trace logging level now properly logs all worker loops

This commit is contained in:
Lucien Luc 2024-07-26 09:42:19 -07:00
parent 1c0c41c4e8
commit e46816e907

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