Skip to content

Log statements are not grouped to parent request in App Engine Standard P3 #110

@MeLight

Description

@MeLight

Environment details

  • OS type and version: App Engine Python 3 Standard

Steps to reproduce

  1. Add couple of logging statements
  2. 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:
image
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
image

How to group the statements to the parent request?

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/python-logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError 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