lnd
lnd copied to clipboard
log: bump logrotate dep, switch to zstd compressor
Change Description
Description of change / link to associated issue.
Similar change to https://github.com/btcsuite/btcd/pull/2238 . Updates the log rotation dependency s.t. we can use ZSTD compression for logs instead of GZIP.
Steps to Test
Steps for reviewers to follow to test the change.
- Run this build outside of itests.
- Generate enough logs to cause log rotation.
- Try to unzip the logs with any zstd CLI tool. The upstream implementation, https://github.com/facebook/zstd , is packaged for many distributions.
Pull Request Checklist
Testing
- [ ] Your PR passes all CI checks.
- [ ] Tests covering the positive and negative (error paths) are included.
- [ ] Bug fixes contain tests triggering the bug to prevent regressions.
Code Style and Documentation
- [x] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
- [x] Commits follow the Ideal Git Commit Structure.
- [x] Any new logging statements use an appropriate subsystem and logging level.
- [x] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
- [ ] There is a change description in the release notes, or
[skip ci]
in the commit message for small changes.
📝 Please see our Contribution Guidelines for further guidance.