[Python-bugs-list] [ python-Bugs-835457 ] Small typo in logging documentation

SourceForge.net noreply at sourceforge.net
Sat Nov 8 06:41:51 EST 2003


Bugs item #835457, was opened at 2003-11-03 21:47
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=835457&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Lars Bjønnes (larsbjonnes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Small typo in logging documentation 

Initial Comment:
>From logging/handlers.py, in class RotatingFileHandler(logging.FileHandler)

def emit(self, record):
...
        Output the record to the file, catering for rollover as described
        in setRollover().
....

There is no method named setRollover() in the module, and I believe the 
author really meant doRollover().

(Just nitpicking; I was just browsing through the code when I noticed it.)

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-11-08 06:41

Message:
Logged In: YES 
user_id=80475

Fixed.
See Lib/logging/handlers.py 1.8 and 1.7.8.1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=835457&group_id=5470



More information about the Python-bugs-list mailing list