Skip to content

Commit 2992508

Browse files
authored
Merge branch 'master' into dylan/sfn-trace-ctx
2 parents 0aac239 + e7dd598 commit 2992508

File tree

1 file changed

+0
-4
lines changed
  • dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/probe

1 file changed

+0
-4
lines changed

dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/probe/LogProbe.java

-4
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ private boolean evaluateCondition(CapturedContext capture, LogStatus status) {
555555
if (probeCondition == null) {
556556
return true;
557557
}
558-
long startTs = System.nanoTime();
559558
try {
560559
if (!probeCondition.execute(capture)) {
561560
return false;
@@ -564,9 +563,6 @@ private boolean evaluateCondition(CapturedContext capture, LogStatus status) {
564563
status.addError(new EvaluationError(ex.getExpr(), ex.getMessage()));
565564
status.setConditionErrors(true);
566565
return false;
567-
} finally {
568-
LOGGER.debug(
569-
"ProbeCondition for probe[{}] evaluated in {}ns", id, (System.nanoTime() - startTs));
570566
}
571567
return true;
572568
}

0 commit comments

Comments
 (0)