Vinay Sajip added the comment:

I'm not sure I agree with "If fileConfig has no delay_fh option,
fileConfig() would create the FileHandlers with delay_fh as False".
fileConfig will create the FileHandlers using the args= section entry to
pass to the constructor. Hence, by specifying True for this parameter,
you get the FileHandlers to delay opening the files. In fact you get
more control - you can specify True for some FileHandlers and False for
others.

The relevant code is in config.py in _install_handlers:

...
klass = eval(klass, vars(logging))
args = cp.get(sectname, "args")
args = eval(args, vars(logging))
h = apply(klass, args)
...

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1765140>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to