From dfb5bbd44a7b7a4a9746fca341bfefe6ce85a394 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 9 May 2008 06:18:27 +0000 Subject: Add a sentence to basicConfig() that is in the docstring. --- Doc/library/logging.rst | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v0.12