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.
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.