Skip to content

Commit

Permalink
branch-3.0: [chore](load) Set the log level to debug and optimize the…
Browse files Browse the repository at this point in the history
… content for load job #46683 (#46802)

Cherry-picked from #46683

Co-authored-by: Xin Liao <[email protected]>
  • Loading branch information
github-actions[bot] and liaoxin01 authored Jan 11, 2025
1 parent 0bd9bd5 commit afda77c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1242,8 +1242,11 @@ public boolean isExpired(long currentTimeMs) {
expireTime = Config.streaming_label_keep_max_second;
}

LOG.info("state {}, expireTime {}, currentTimeMs {}, finishTimestamp {}",
state, expireTime, currentTimeMs, getFinishTimestamp());
if (LOG.isDebugEnabled()) {
LOG.debug("Job ID: {}, DB ID: {}, Label: {}, State: {}, Expire Time: {}, Current Time: {}, "
+ "Finish Timestamp: {}", id, dbId, label, state, expireTime, currentTimeMs,
getFinishTimestamp());
}
return (currentTimeMs - getFinishTimestamp()) / 1000 > expireTime;
}

Expand Down

0 comments on commit afda77c

Please sign in to comment.