Opened 5 years ago

Closed 5 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: UI/UX:

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

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by djinn

logging patch for using python logging for output

comment:1 Changed 5 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

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

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