[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.122,1.123
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Wed, 19 Feb 2003 05:46:22 -0800
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv3004
Modified Files:
whatsnew23.tex
Log Message:
logging.warn() renamed to warning()
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.122
retrieving revision 1.123
diff -C2 -d -r1.122 -r1.123
*** whatsnew23.tex 18 Feb 2003 00:56:56 -0000 1.122
--- whatsnew23.tex 19 Feb 2003 13:46:18 -0000 1.123
***************
*** 446,450 ****
logging.debug('Debugging information')
logging.info('Informational message')
! logging.warn('Warning:config file %s not found', 'server.conf')
logging.error('Error occurred')
logging.critical('Critical error -- shutting down')
--- 446,450 ----
logging.debug('Debugging information')
logging.info('Informational message')
! logging.warning('Warning:config file %s not found', 'server.conf')
logging.error('Error occurred')
logging.critical('Critical error -- shutting down')
***************
*** 454,458 ****
\begin{verbatim}
! WARN:root:Warning:config file server.conf not found
ERROR:root:Error occurred
CRITICAL:root:Critical error -- shutting down
--- 454,458 ----
\begin{verbatim}
! WARNING:root:Warning:config file server.conf not found
ERROR:root:Error occurred
CRITICAL:root:Critical error -- shutting down
***************
*** 464,468 ****
\method{setLevel()} method on the root logger.
! Notice the \function{warn()} call's use of string formatting
operators; all of the functions for logging messages take the
arguments \code{(\var{msg}, \var{arg1}, \var{arg2}, ...)} and log the
--- 464,468 ----
\method{setLevel()} method on the root logger.
! Notice the \function{warning()} call's use of string formatting
operators; all of the functions for logging messages take the
arguments \code{(\var{msg}, \var{arg1}, \var{arg2}, ...)} and log the