tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.5k stars 721 forks source link

Compress files after rolling in tracing-appender/RollingFileAppender #2401

Open nstinus opened 1 year ago

nstinus commented 1 year ago

This is more a question than anything: is there a way to have the files compressed as soon as they are rolled? There are more than one way to do it so I figured I'll ask what is recommended or if it is a feature that would get any interest.

ptdecker commented 1 year ago

See also https://github.com/tokio-rs/tracing/issues/2584