[Python-Dev] Re: [Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.62, 1.63

Guido van Rossum guido at python.org
Wed Jul 7 17:44:24 CEST 2004


> + \item A \function{basicConfig} function was added to the
> + \module{logging} package to simplify log configuration.  It defaults
> + to logging to standard error, but a
> + number of optional keyword arguments can be specified to 
> + log to a particular file, change the logging format, or set  the
> + logging level.  For example:

Actually, basicConfig() always existed; the news is that it now takes
arguments.

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list