How to implement compression in tracing (

Hi all,

I would like to use to get the compressed file when I use tracing appender to file (tracing/tracing-appender at master · tokio-rs/tracing · GitHub).

Is there any documentation or example regarding this topic?

tracing-appender doesn't currently implement compression. However, there is currently an in progress pull request adding support for compressed log files. I think that PR still needs a bit of work to get ready to merge, but it's pretty close!

Edit: ah, I see you've also found that PR. :slight_smile:

1 Like

@hawkw Thanks, yes, I found that PR. I will switch there for further discussion and I'm marking your answer as a solution.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.