Opened 9 years ago

Closed 9 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


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 9 years ago.
logging patch for using python logging for output

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by djinn

Attachment: logging.patch added

logging patch for using python logging for output

comment:1 Changed 9 years ago by Karen Tracey

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