Updated docs for basicConfig to indicate it's a no-op if handlers have been defined for the root logger.

This commit is contained in:
Vinay Sajip 2008-01-07 15:30:36 +00:00
parent 503f2935c9
commit e28fa297e9
1 changed files with 12 additions and 11 deletions

View File

@ -693,7 +693,8 @@ functions.
Does basic configuration for the logging system by creating a
:class:`StreamHandler` with a default :class:`Formatter` and adding it to the
root logger. The functions :func:`debug`, :func:`info`, :func:`warning`,
root logger. The function does nothing if any handlers have been defined for
the root logger. The functions :func:`debug`, :func:`info`, :func:`warning`,
:func:`error` and :func:`critical` will call :func:`basicConfig` automatically
if no handlers are defined for the root logger.