[issue17407] RotatingFileHandler issue when using multiple loggers instances (but one process/thread) to the same file

2013-03-14 Thread James Kesser
James Kesser added the comment: My approach was just as outlined in the first few paragraphs here, just naming loggers for each module using __name__: http://docs.python.org/2/howto/logging.html#logging-advanced-tutorial If this is not recommended the documentation should be updated

[issue17407] RotatingFileHandler issue when using multiple loggers instances (but one process/thread) to the same file

2013-03-14 Thread James Kesser
James Kesser added the comment: Thanks for quick response! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17407 ___ ___ Python-bugs-list mailing

[issue17407] RotatingFileHandler issue when using multiple loggers instances (but one process/thread) to the same file

2013-03-12 Thread James Kesser
New submission from James Kesser: I believe I have come across a bug with RotatingFileHandler in logging/handlers.py The attached script shows that when you are logging using RotatingFileHandler pointed at the same file from multiple logger instances, it works at first showing logging events