[New-bugs-announce] [issue22447] logging.config.fileConfig attempts to write to file even when none configured

Ed Sesek report at bugs.python.org
Fri Sep 19 23:06:21 CEST 2014


New submission from Ed Sesek:

See the attached config file.  logging.config.fileConfig() is attempting to write to the file specified in the file_handler section even though that handler is not configured for use in this config.  If its going to write to the file, it should only do so if the file is configured to be used.  In the case where it cannot write to the file it throws an exception with a blank message.

----------
components: Library (Lib)
files: pixcli_template.ini
messages: 227122
nosy: esesek
priority: normal
severity: normal
status: open
title: logging.config.fileConfig attempts to write to file even when none configured
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file36664/pixcli_template.ini

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22447>
_______________________________________


More information about the New-bugs-announce mailing list