Closed
Description
Environment details
- OS type and version: App Engine Python 3 Standard
Steps to reproduce
- Add couple of logging statements
- Go to Logs Explorer on your cloud console
Code example
import google.cloud.logging
import logging
client = google.cloud.logging.Client()
client.get_default_handler()
client.setup_logging()
logging.info("Testing lines")
logging.info("Again!")
Result:
As you can see every statement is on it's own line, as opposed to what's expected - the statements should be grouped under one log like in App Engine Standard Python2
How to group the statements to the parent request?
Metadata
Metadata
Assignees
Labels
Issues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.Moderately-important priority. Fix may not be included in next release.Moderately-important priority. 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.