Multiple calls to logging.config.fileConfig

Vinay Sajip vinay_sajip at yahoo.co.uk
Sat Oct 7 12:41:33 EDT 2006


logging.config.fileConfig() does not do incremental configuration - it
replaces the existing configuration with the configuration in the file
passed to fileConfig. While this might not be too useful for your
current needs, the present behaviour is by design...fileConfig is meant
to choose between one of a number of configurations (e.g. development,
test, production) and not for incremental configuration.

Regards,

Vinay Sajip




More information about the Python-list mailing list