Skip to content

Conversation

@myelin
Copy link
Contributor

@myelin myelin commented Sep 26, 2018

The python37 runtime provides the GOOGLE_CLOUD_PROJECT environment variable instead of GCLOUD_PROJECT, and for log messages to be correlated with the request in StackDriver, their 'trace' value has to be passed as a top level member of the log record rather than as an appengine.googleapis.com/trace_id label.

…ntime.

The python37 runtime provides the GOOGLE_CLOUD_PROJECT environment
variable instead of GCLOUD_PROJECT, and for log messages to be
correlated with the request in StackDriver, their 'trace' value has to
be passed as a top level member of the log record rather than as an
appengine.googleapis.com/trace_id label.
@myelin myelin requested a review from theacodes as a code owner September 26, 2018 22:59
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2018
@tseaver tseaver changed the title Support request-correlated logging in App Engine standard python37 runtime Logging: support request-correlated logging in App Engine standard python37 runtime Sep 27, 2018
@tseaver tseaver added the api: logging Issues related to the Cloud Logging API. label Sep 27, 2018
@myelin
Copy link
Contributor Author

myelin commented Sep 27, 2018

I broke something with this last CL -- fix coming soon.

@theacodes theacodes merged commit 571a7bf into googleapis:master Sep 27, 2018
@theacodes
Copy link
Contributor

Thank you, @myelin!

_GAE_PROJECT_ENV_STANDARD: 'test_project',
_GAE_SERVICE_ENV: 'test_service',
_GAE_VERSION_ENV: 'test_version',
}):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

parthea pushed a commit that referenced this pull request Nov 24, 2025
…thon37 runtime (#6118)

The python37 runtime provides the GOOGLE_CLOUD_PROJECT environment
variable instead of GCLOUD_PROJECT, and for log messages to be
correlated with the request in StackDriver, their 'trace' value has to
be passed as a top level member of the log record rather than as an
appengine.googleapis.com/trace_id label.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants