Opened 14 years ago

Closed 14 years ago

#13766 closed (duplicate)

Redirecting output from internal http server

Reported by: djinn Owned by: nobody
Component: HTTP handling Version: 1.2
Severity: Keywords: basehttp server
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The base http server uses vanilla sys.stderr to output its logs. This is nice and simple. But in certain cases one would want to redirect it into more complex logging system.

Added patch uses python logging for logging to stderr. Appropriate file configuration would change the handlers and level of logging

Attachments (1)

logging.patch (4.1 KB ) - added by djinn 14 years ago.
logging patch for using python logging for output

Download all attachments as: .zip

Change History (2)

by djinn, 14 years ago

Attachment: logging.patch added

logging patch for using python logging for output

comment:1 by Karen Tracey, 14 years ago

Resolution: duplicate
Status: newclosed

Shouldn't this be part of the overall logging ticket (#12012)?

Note: See TracTickets for help on using tickets.
Back to Top