[issue18345] logging: file creation options with FileHandler and friends
Vinay Sajip
report at bugs.python.org
Mon Nov 4 20:48:53 CET 2013
Vinay Sajip added the comment:
If you are using dictConfig(), you don't need to specify a class for your handler: you can specify a callable which configures and returns a handler, and the callable could be a function which created a file with appropriate ownership and then returned a FileHandler or subclass thereof which used that file. I can update the cookbook with suitable examples, with and without using a mixin.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18345>
_______________________________________
More information about the Python-bugs-list
mailing list