Merge lp:~james-w/canonical-identity-provider/remove-logging-middleware into lp:canonical-identity-provider/release
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1023 |
Proposed branch: | lp:~james-w/canonical-identity-provider/remove-logging-middleware |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
193 lines (+1/-120) 5 files modified
django_project/config/main.cfg (+0/-2) django_project/config/profiling.cfg (+0/-2) src/identityprovider/middleware/exception.py (+0/-23) src/identityprovider/middleware/timer.py (+0/-27) src/identityprovider/tests/test_middleware.py (+1/-66) |
To merge this branch: | bzr merge lp:~james-w/canonical-identity-provider/remove-logging-middleware |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Review via email: mp+181828@code.launchpad.net |
Commit message
Remove the exception logging and timing middlewares.
Now that we have decent oopses we have a much easier way of getting roughly
the same as these middleware provided. Remove them as they are slowing
down all requests, particularly when they trigger. The oops infrastructure
can be improved if there are extra features these middleware had that
are still desirable.
Description of the change
Hi,
As described in the commit message this drops the logging middlewares
in favour of the oops system.
Thanks,
James
To post a comment you must log in.
THIS IS GREAT.