This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients cdleary, vinay.sajip
Date 2007-09-10.08:54:43
SpamBayes Score 0.028262354
Marked as misclassified No
Message-id <1189414484.73.0.151582796914.issue1765140@psf.upfronthosting.co.za>
In-reply-to
Content
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)
...
History
Date User Action Args
2007-09-10 08:54:45vinay.sajipsetspambayes_score: 0.0282624 -> 0.028262354
recipients: + vinay.sajip, cdleary
2007-09-10 08:54:44vinay.sajipsetspambayes_score: 0.0282624 -> 0.0282624
messageid: <1189414484.73.0.151582796914.issue1765140@psf.upfronthosting.co.za>
2007-09-10 08:54:44vinay.sajiplinkissue1765140 messages
2007-09-10 08:54:43vinay.sajipcreate