bugfix: debug or trace logging level now properly logs all worker loops
This commit is contained in:
parent
bbc0541883
commit
74fc09a0be
1 changed files with 2 additions and 2 deletions
|
|
@ -1205,8 +1205,8 @@ public class Worker 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 minimum 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