Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto encoding / compression of logfiles based on log file extension #175

Open
stdweird opened this issue May 13, 2015 · 1 comment
Open

Comments

@stdweird
Copy link
Member

should be able to set encoding to zlib or bz2 when the logger logs to files with extension gz or bz2

@boegel
Copy link
Member

boegel commented May 14, 2015

better use zlib, since bz2 is not considered a valid encoding anymore in Py3 (according to http://www.ciiycode.com/0yBmNexXePPU/python-want-logging-with-log-rotation-and-compression)

yes, dafuq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants