Unusual Exception Behaviour

Robert Rawlins robert.rawlins at thinkbluemedia.co.uk
Fri Jul 18 12:12:39 EDT 2008


> The logging configuration functionality provided by fileConfig is all-
> or-nothing, i.e. it does not support incremental configuration.
>
> Do you know if any libraries you depend on use fileConfig?
>
> If you use programmatic configuration only, and don't use fileConfig
> at all, does everything work as expected?

Vinay,

I changed this over to programmatic configuration this afternoon and it
works just great, all the logging I require, and my exceptions get thrown.
:-D

I have no idea if any of the librarys I use work from a file config, I'm
certainly not aware of them doing so.

This is really quite frustrating as I'd much rather use a conf file than
work this programmatically. I get the feeling that it's because in the
config file I was not attaching any handlers to the root logger, but I don't
know.

Robert




More information about the Python-list mailing list