[issue13516] Gzip old log files in rotating handlers

2011-12-14 Thread Raul Morales
Raul Morales added the comment: Ok, it is reasonable. It has no sense add support for compression since I am the only user who want it. Maybe in the future ;) -- ___ Python tracker <http://bugs.python.org/issue13

[issue13516] Gzip old log files in rotating handlers

2011-12-14 Thread Raul Morales
Raul Morales added the comment: I have just posted a comment, too. http://plumberjack.blogspot.com/2011/12/improved-flexibility-for-log-file.html?showComment=1323891345946#c2875224484376643310 With this approach, anyone can implement support for any format easily. It is powerful. But IMHO

[issue13516] Gzip old log files in rotating handlers

2011-12-12 Thread Raul Morales
Raul Morales added the comment: Interesting, then I will wait your post. Thanks. -- ___ Python tracker <http://bugs.python.org/issue13516> ___ ___ Python-bug

[issue13516] Gzip old log files in rotating handlers

2011-12-12 Thread Raul Morales
Raul Morales added the comment: I use a similar code in my scripts, but I thought it could be useful to have this feature built into python. If you prefer subclassing for compression, what about a compressing subclass built into logging package? If you think it is a good feature, I will be

[issue13516] Gzip old log files in rotating handlers

2011-12-01 Thread Raul Morales
New submission from Raul Morales : Sometimes log files grow very quickly and consume too much disk space (e.g. DEBUG), so compress old log files saves disk space without losing the information from log files. I propose to add a "gzip" or "compress" argument to Rot