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

multi: add zstd support #2

Closed
wants to merge 1 commit into from
Closed

Conversation

jharveyb
Copy link

ZSTD is both faster and compresses at higher ratios than gzip, so it would be useful to have it as an option when rotating logs.

Further pro-ZSTD arguments here:

golang/go#62513

Copy link

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflicts with recent changes in master. But other than that, LGTM 🎉

@@ -0,0 +1,7 @@
module github.com/jrick/logrotate/rotator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the whole project on its own is already rather small, does it really make sense to turn this into its own Gomodule? IMO just the root one should be enough.

@@ -0,0 +1,7 @@
module github.com/jrick/logrotate

go 1.22
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The github.com/klauspost/compress library only seems to require Go 1.20. Could keep this at the same level to remove the need for also specifying toolchain...

@jrick
Copy link
Owner

jrick commented Aug 16, 2024

closing in favor of #3.

@jrick jrick closed this Aug 16, 2024
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.

3 participants