Edgewall Software

Opened 7 years ago

Last modified 21 months ago

#11874 closed enhancement

Allowing logger to be extended with different handlers — at Version 1

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.3.1
Component: general Version:
Severity: normal Keywords: logging
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Adding a LoggerManager Component and a ILoggingHandlerProvider interface would allow new handlers to be added through plugins. It should also be possible to eliminate some redundant definitions of log types in log.py and admin/web_ui.py, and provide a cleaner definition of log levels.

One handler that will be of immediate use is MockLoggingHandler in test.py, taken from SO:1049375/121694.

Change History (1)

comment:1 by Ryan J Ollos, 7 years ago

Description: modified (diff)
Keywords: logging added; log removed
Type: defectenhancement
Note: See TracTickets for help on using tickets.