DebuggingLoggerMiddleware doesn't log the responses.

Bug #1274561 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Raphaël Badin

Bug Description

By default, the GZipMiddleware is also activated and thus DebuggingLoggerMiddleware — when it's enabled — can't print the responses in the log.

Related branches

Revision history for this message
Raphaël Badin (rvb) wrote :

We should probably either get the DebuggingLoggerMiddleware to disable GZipMiddleware when it's activated or change DebuggingLoggerMiddleware so that it groks zipped responses. I favor the second option.

Revision history for this message
Raphaël Badin (rvb) wrote :

Actually, there is a much simpler solution: move DebuggingLoggerMiddleware down in the list of middlewares so that it can operate *before* GZipMiddleware.

Changed in maas:
milestone: none → 14.04
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → In Progress
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.