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

Upgrade CrowdSec dependencies and improve runtime #20

Merged
merged 8 commits into from
Oct 15, 2023

Conversation

hslatman
Copy link
Owner

@hslatman hslatman commented Aug 18, 2023

This PR updates the internally uses CrowdSec libraries to v1.5.4 and simplifies the runtime of the streaming bouncer.

Besides that it changes how logs from the internal CrowdSec libraries are output by plugging in an adapter for zap, as used by Caddy. This should lead to better handling of and more consistent log output.

The CrowdSec `go-cs-bouncer` uses `logrus` as the logging package.
We're now using a hook to capture all `logrus` log entries, and turn
them into `zap` log entries. The original `logrus` output is set
to be discarded.
@hslatman hslatman changed the title Upgrade CrowdSec dependencies (WIP) Upgrade CrowdSec dependencies and improve runtime (WIP) Aug 18, 2023
@hslatman hslatman changed the title Upgrade CrowdSec dependencies and improve runtime (WIP) Upgrade CrowdSec dependencies and improve runtime Oct 15, 2023
@hslatman hslatman merged commit 18fb470 into main Oct 15, 2023
2 checks passed
@hslatman hslatman deleted the upgrade-crowdsec-dependencies branch October 18, 2023 17:58
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.

1 participant