bugfix: debug or trace logging level now properly logs all worker loops (#1371)
* bugfix: debug or trace logging level now properly logs all worker loops
This commit is contained in:
parent
bbc0541883
commit
51ef718fc0
1 changed files with 1 additions and 1 deletions
|
|
@ -1206,7 +1206,7 @@ public class Worker 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue