GitHub user rgoers added a comment to the discussion: Does Log4j2 compress 
rolled log files concurrently with writing to the new log file?

While Piotr's answer is correct I would also add that you need to be careful 
that the amount of time between rollovers is longer than the time needed to 
compress the file, otherwise you could end up with multiple compression tasks 
running at once competing for disk i/0 and CPU.

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3964#discussioncomment-14979939

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to