Question on how to supress console logging from BaseHTTPServer Module?

Michael Ströder michael at stroeder.com
Thu May 24 15:48:37 CEST 2001


David Lees wrote:
> 
> self.log_request(code)
> 
> which I can comment out to get rid of the console output.  This seems a
> bit crude.  Is there a better way to suppress the logging output?

Override method log_request() and redirect to log files. Believe me,
you will need the log output.

Ciao, Michael.



More information about the Python-list mailing list