While TimeBasedRollingPolicy is a excellent way to compress log files, it is not possible to configure the priority of the thread running the asynchronous action of compression the file. It would be preferable if one could configure the thread priority. I like to code it myself, but I am not sure on how to submit code.