[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.82,1.83

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Tue, 03 Dec 2002 05:35:20 -0800


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv7641

Modified Files:
	whatsnew23.tex 
Log Message:
Bug #647387: corrections to the logging section by Vinay Sanjip


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** whatsnew23.tex	3 Dec 2002 06:13:35 -0000	1.82
--- whatsnew23.tex	3 Dec 2002 13:35:17 -0000	1.83
***************
*** 434,439 ****
  \samp{server} or direct \samp{server} messages to a different handler,
  the changes will also apply to records logged to \samp{server.auth}
! and \samp{server.network}.  There's also a root \class{Logger} with
! the name \samp{root} that's the parent of all other loggers.
  
  For simple uses, the \module{logging} package contains some
--- 434,439 ----
  \samp{server} or direct \samp{server} messages to a different handler,
  the changes will also apply to records logged to \samp{server.auth}
! and \samp{server.network}.  There's also a root \class{Logger} that's
! the parent of all other loggers.
  
  For simple uses, the \module{logging} package contains some
***************
*** 445,449 ****
  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')
--- 445,449 ----
  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')
***************
*** 453,457 ****
  
  \begin{verbatim}
! WARN:root:Warning: config file not found
  ERROR:root:Error occurred
  CRITICAL:root:Critical error -- shutting down
--- 453,457 ----
  
  \begin{verbatim}
! WARN:root:Warning:config file server.conf not found
  ERROR:root:Error occurred
  CRITICAL:root:Critical error -- shutting down
***************
*** 493,497 ****
  Slightly more advanced programs will use a logger other than the root
  logger.  The \function{getLogger(\var{name})} is used to get a
! particular log, creating it if it doesn't exist yet.
  
  \begin{verbatim}
--- 493,499 ----
  Slightly more advanced programs will use a logger other than the root
  logger.  The \function{getLogger(\var{name})} is used to get a
! particular log, creating it if it doesn't exist yet; 
! \function{getLogger(None)} returns the root logger.
! 
  
  \begin{verbatim}
***************
*** 1711,1715 ****
  Fred~L. Drake, Jr., Michael Hudson, Detlef Lannert, Martin von
  L\"owis, Andrew MacIntyre, Lalo Martins, Gustavo Niemeyer, Neal
! Norwitz, Chris Reedy, Neil Schemenauer, Jason Tishler.
  
  \end{document}
--- 1713,1717 ----
  Fred~L. Drake, Jr., Michael Hudson, Detlef Lannert, Martin von
  L\"owis, Andrew MacIntyre, Lalo Martins, Gustavo Niemeyer, Neal
! Norwitz, Chris Reedy, Vinay Sajip, Neil Schemenauer, Jason Tishler.
  
  \end{document}