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

Quiet the log query done by the bouncer #57

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Quiet the log query done by the bouncer #57

merged 1 commit into from
Oct 15, 2024

Conversation

stephdl
Copy link
Collaborator

@stephdl stephdl commented Oct 15, 2024

the log flood is repeated each 10 seconds, it comes from the get of the bouncer to know if he needs to ban a decision

Oct 15 10:39:13 R2-pve.rocky9-pve2.org crowdsec1[123878]: time="2024-10-15T08:39:13Z" level=info msg="127.0.0.1 - [Tue, 15 Oct 2024 08:39:13 UTC] \"GET /v1/decisions/stream HTTP/1.1 200 4.875875ms \"crowdsec-firewall-bouncer/v0.0.28-debian-pragmatic-af6e7e25822c2b1a02168b99ebbf8458bc6728e5\" \""

also

Oct 15 11:47:04 R2-pve.rocky9-pve2.org crowdsec2[136638]: time="2024-10-15T09:47:04Z" level=info msg="127.0.0.1 - [Tue, 15 Oct 2024 09:47:04 UTC] \"GET /v1/heartbeat HTTP/1.1 200 245.958µs \"crowdsec/v1.6.3-4851945a-docker\" \""

we can continue to see the GET by

runagent -m crowdsec2 podman exec -ti crowdsec2 cscli metrics

image

Refs: NethServer/dev#7062

@stephdl stephdl changed the title Update log levels to error in config files Quiet the log query done by the bouncer Oct 15, 2024
@stephdl stephdl merged commit 3f75385 into main Oct 15, 2024
4 checks passed
@stephdl stephdl deleted the quietLog branch October 15, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants