Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

logging: RequestMiddleware not compatible with Django 2 #5024

Copy link
Copy link
Closed
@tcroiset

Description

@tcroiset
Issue body actions

@liyanhui1228 we really appreciated the trace context feature to group logs by request.
Unfortunately, it looks broken with Django 2.

Django 1.10 introduced a new middleware style ( https://docs.djangoproject.com/en/1.10/releases/1.10/#new-style-middleware )

The old style, used by google.cloud.logging.handlers.middleware.request.RequestMiddleware, support was removed with Django 2.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.