Closed
Description
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
Issues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.Error 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.