diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-03-10 15:51:19 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-03-10 15:51:19 (GMT) |
commit | 416616fc6f560e7febe3d99307d52876a7cf9ec3 (patch) | |
tree | b75a773c30cd403b1a1acb0c6e0f118b0b2dc93c /Doc | |
parent | c5f5d69517c7a95703e0e214a673ae2452f2c66b (diff) | |
download | cpython-416616fc6f560e7febe3d99307d52876a7cf9ec3.zip cpython-416616fc6f560e7febe3d99307d52876a7cf9ec3.tar.gz cpython-416616fc6f560e7febe3d99307d52876a7cf9ec3.tar.bz2 |
whatsnew: logging.fileConfig accepts ConfigParser instances. (#16110)
And missing NEWS entry.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index ed72fed..834c914 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -1006,6 +1006,14 @@ happen. (Contributed by Ronald Oussoren in :issue:`9556`.) setting *port* to ``None``). (Contributed by Vinay Sajip in commit ce46195b56a9.) +:func:`~logging.config.fileConfig` now accepts a +:class:`configparser.RawConfigParser` subclass instance for the *fname* +parameter. This facilitates using a configuration file when logging +configuration is just a part of the overall application configuration, or where +the application modifies the configuration before passing it to +:func:`~logging.config.fileConfig`. (Contributed by Vinay Sajip in +:issue:`16110`.) + .. _whatsnew-marshal-3: |