Skip to content

Commit

Permalink
bypass without debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge committed Apr 18, 2024
1 parent 41242d8 commit 5a02d10
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public void start(Tracer tracer) throws Exception {
return;
}

if (!log.isDebugEnabled()) {
log.error("thread dump option requires debug log level");
return;
}

if (threadDumpInterval < 100) {
log.error("thread dump frequency too high, adjusted to every 100ms");
threadDumpInterval = 100;
Expand Down

0 comments on commit 5a02d10

Please sign in to comment.