bugfix: debug or trace logging level now properly logs all worker loops (#1372)
This commit is contained in:
parent
1c0c41c4e8
commit
0478575b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1214,7 +1214,7 @@ public class Scheduler implements Runnable {
|
||||||
private void resetInfoLogging() {
|
private void resetInfoLogging() {
|
||||||
if (infoReporting) {
|
if (infoReporting) {
|
||||||
// We just logged at INFO level for a pass through worker loop
|
// We just logged at INFO level for a pass through worker loop
|
||||||
if (log.isInfoEnabled()) {
|
if (!log.isDebugEnabled() && !log.isTraceEnabled()) {
|
||||||
infoReporting = false;
|
infoReporting = false;
|
||||||
nextReportTime = System.currentTimeMillis() + reportIntervalMillis;
|
nextReportTime = System.currentTimeMillis() + reportIntervalMillis;
|
||||||
} // else is DEBUG or TRACE so leave reporting true
|
} // else is DEBUG or TRACE so leave reporting true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue