Useful logging enhancement
logging3 is available through PyPI, and thus can be installed via pip:
pip install logging3
Just import the handler from
from logging3 import TimedCompressedRotatingFileHandler
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.