lnd icon indicating copy to clipboard operation
lnd copied to clipboard

log: bump logrotate dep, switch to zstd compressor

Open jharveyb opened this issue 6 months ago • 3 comments

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

📝 Please see our Contribution Guidelines for further guidance.

jharveyb avatar Aug 19 '24 15:08 jharveyb