Skip to content

Stop writing to /var/log/app_engine/ #2997

@JustinBeckwith

Description

@JustinBeckwith

Currently the logging library is writing files to a magical path: /var/log/app_engine/. This is not an official supported path, and would only work for App Engine. At any point -that path could stop working.

The only officially supported ways to write logs are to write to stdout or stderr, or to use the cloud logging APIs. Come chat with me if you have questions!

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/logging/google/cloud/logging/handlers/app_engine.py#L34

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions