diff options
author | Georg Brandl <georg@python.org> | 2008-05-09 06:18:27 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-09 06:18:27 (GMT) |
commit | dfb5bbd44a7b7a4a9746fca341bfefe6ce85a394 (patch) | |
tree | ec0ce48f67977162d795d8dc0aeaaf378cb2c6db | |
parent | 5117409a537e70a5a723f4b8c247c8ab6bf22718 (diff) | |
download | cpython-dfb5bbd44a7b7a4a9746fca341bfefe6ce85a394.zip cpython-dfb5bbd44a7b7a4a9746fca341bfefe6ce85a394.tar.gz cpython-dfb5bbd44a7b7a4a9746fca341bfefe6ce85a394.tar.bz2 |
Add a sentence to basicConfig() that is in the docstring.
-rw-r--r-- | Doc/library/logging.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 9cd3668..1f7c59b 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -698,6 +698,8 @@ functions. :func:`error` and :func:`critical` will call :func:`basicConfig` automatically if no handlers are defined for the root logger. + This function does nothing if the root logger already has handlers configured. + .. versionchanged:: 2.4 Formerly, :func:`basicConfig` did not take any keyword arguments. |