fix to be &&

This commit is contained in:
lucienlu-aws 2024-07-25 16:20:21 -07:00 committed by GitHub
parent 271ea76635
commit d8c3571947
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.isDebugEnabled() || !LOG.isTraceEnabled()) {
if (!LOG.isDebugEnabled() && !LOG.isTraceEnabled()) {
infoReporting = false;
nextReportTime = System.currentTimeMillis() + reportIntervalMillis;
} // else is DEBUG or TRACE so leave reporting true