Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#24526 closed Cleanup/optimization (fixed)

Default logging config filters out anything below ERROR for django.request/django.security loggers

Reported by: Tim Graham Owned by: Tim Graham
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The fact that the django.request and django.security handlers define:

            'level': 'ERROR',
            'propagate': False,

makes it impossible to configure other handlers to catch these errors.

Change History (4)

comment:1 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 10 years ago

Has patch: set

PR is now ready for review.

comment:3 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 8efea1b8:

Fixed #24526 -- Combined django.request/security loggers with the root logger.

Thanks Carl Meyer for review.

comment:4 by Tim Graham <timograham@…>, 9 years ago

In 6b377196:

Refs #24526 -- Made the django logger handle INFO messages.

Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."

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