Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🍒 7657] Reduce log level for "WAF object had not been closed" #7667

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import datadog.trace.api.Config;
import datadog.trace.api.http.StoredBodySupplier;
import datadog.trace.api.internal.TraceSegment;
import datadog.trace.api.telemetry.LogCollector;
import datadog.trace.bootstrap.instrumentation.api.AgentSpan;
import datadog.trace.bootstrap.instrumentation.api.AgentTracer;
import io.sqreen.powerwaf.Additive;
Expand Down Expand Up @@ -433,7 +434,9 @@ public void close() {

public void close(boolean requiresPostProcessing) {
if (additive != null || derivatives != null) {
log.warn("WAF object had not been closed (probably missed request-end event)");
log.debug(
LogCollector.SEND_TELEMETRY,
"WAF object had not been closed (probably missed request-end event)");
closeAdditive();
derivatives = null;
}
Expand Down
Loading