Skip to content

Commit ad78ce6

Browse files
committed
wip
1 parent 5166b33 commit ad78ce6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: dd-java-agent/appsec/src/main/java/com/datadog/appsec/gateway/GatewayBridge.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,8 @@ private NoopFlow onRequestEnded(RequestContext ctx_, IGSpanInfo spanInfo) {
830830
}
831831

832832
// API Security sampling requires http.route tag.
833-
log.debug("Checking API Security for end of request handler on span: {}", spanInfo.getSpanId());
833+
log.debug(
834+
"Checking API Security for end of request handler on span: {}", spanInfo.getSpanId());
834835
Object route = tags.get(Tags.HTTP_ROUTE);
835836
if (route == null) {
836837
log.debug("No route tag found in the current span, checking root");
@@ -842,7 +843,9 @@ private NoopFlow onRequestEnded(RequestContext ctx_, IGSpanInfo spanInfo) {
842843
ctx.setRoute((String) route);
843844
requestSampler.preSampleRequest(ctx);
844845
} else {
845-
log.debug("Route tag is not a string, skipping API Security sampling: {}", route.getClass().getSimpleName());
846+
log.debug(
847+
"Route tag is not a string, skipping API Security sampling: {}",
848+
route.getClass().getSimpleName());
846849
}
847850
}
848851

0 commit comments

Comments
 (0)