Opened 6 years ago

Closed 6 years ago

#17330 closed Cleanup/optimization (fixed)

Logger documentation minor error

Reported by: Jeff Blaine Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Very minor nit:


Defines three handlers:

null, a NullHandler, which will pass any DEBUG or higher message to /dev/null.

console, a StreamHandler, which will print any DEBUG message to stdout. This handler uses the simple output format.

mail_admins, an AdminEmailHandler, which will e-mail any ERROR level message to the site admins. This handler uses the special filter.

For clarity, I believe the 'console' and 'mail_admins' blocks should be rewritten to indicate, as the 'null' one does, those handlers will act on DEBUG or ERROR level messages (respectively) *or higher*.


Change History (2)

comment:1 Changed 6 years ago by Aymeric Augustin

Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

comment:2 Changed 6 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

In [17215]:

Fixed #17330 -- Fixed error in logging.txt. Thanks, jblaine

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