Skip to content

Commit

Permalink
Remove debug log on log probe critical path (#8355)
Browse files Browse the repository at this point in the history
useless log
  • Loading branch information
jpbempel authored Feb 7, 2025
1 parent 8a74e85 commit e7dd598
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ private boolean evaluateCondition(CapturedContext capture, LogStatus status) {
if (probeCondition == null) {
return true;
}
long startTs = System.nanoTime();
try {
if (!probeCondition.execute(capture)) {
return false;
Expand All @@ -564,9 +563,6 @@ private boolean evaluateCondition(CapturedContext capture, LogStatus status) {
status.addError(new EvaluationError(ex.getExpr(), ex.getMessage()));
status.setConditionErrors(true);
return false;
} finally {
LOGGER.debug(
"ProbeCondition for probe[{}] evaluated in {}ns", id, (System.nanoTime() - startTs));
}
return true;
}
Expand Down

0 comments on commit e7dd598

Please sign in to comment.