[Patches] [ python-Patches-1079729 ] Make cgi.py use logging module

SourceForge.net noreply at sourceforge.net
Sun Jan 9 03:04:52 CET 2005


Patches item #1079729, was opened at 2004-12-06 05:05
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1079729&group_id=5470

Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Josh Hoyt (joshhoyt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make cgi.py use logging module

Initial Comment:
The attached patch makes the CGI module use the logging
module for logging.

There is no change in behaviour for the old idioms of
using the cgi module's built-in logging facility, but
this allows users to use the logging framework to
direct and format log messages.


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

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-01-09 03:04

Message:
Logged In: YES 
user_id=469548

You might want to follow the proposal in PEP 337 (create a
cgi._log, use py. prefix). Of course, you could also
disagree with the PEP, in which case you should take it up
on python-dev ;). Either way, please assign this to me once
you've got a PEP behind you and I'll check it in.

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

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


More information about the Patches mailing list