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

bug: StructuredLogHandler instrumentation is not reliable #704

Copy link
Copy link
Closed
@daniel-sanche

Description

@daniel-sanche
Issue body actions

The StructuredLogHandler currently sends an instrumentation log like this:

logging.info(diagnostic_object.payload)

This uses the root logging instance, which may not contain a GCP Logging Handler, so the log may not make its way to GCP. We should make sure the instrumentation log is written in the same method as other logs

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.