Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Logging handler for python #1824

Closed
txomon opened this issue May 26, 2016 · 3 comments
Closed

Google Logging handler for python #1824

txomon opened this issue May 26, 2016 · 3 comments
Assignees
Labels
api: logging Issues related to the Cloud Logging API.

Comments

@txomon
Copy link

txomon commented May 26, 2016

I found that it would be extremely useful to have a logging sink for python. Maybe this would be more appropriate to have in a side library though.

But the ability to log into the Google Cloud Logging system directly would enable to filter properly from the dashboard, and that would be awesome. Currently the logs are stored in an unknown level and different levels are not recognized.

Example:

https://medium.com/google-cloud/cloud-logging-though-a-python-log-handler-a3fbeaf14704#.mcrqgtkhh

@dhermes
Copy link
Contributor

dhermes commented May 26, 2016

Are you asking for something other than http://googlecloudplatform.github.io/gcloud-python/stable/logging-usage.html

@dhermes dhermes added the api: logging Issues related to the Cloud Logging API. label May 26, 2016
@txomon
Copy link
Author

txomon commented May 26, 2016

@dhermes That is the reference on the logging interface to Google Cloud logging. I am more referring to having an standard logging handler, as the ones installed in the logging library by default for stderr/stdout:

https://docs.python.org/2/library/logging.html#handler-objects

The article showcased what I meant more specifically.

@dhermes
Copy link
Contributor

dhermes commented May 26, 2016

@tseaver Expressed interest in exposing an interface as a standard logger. I'm closing this since it is effectively a duplicate of #1497. We can continue discussion there.

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.
Projects
None yet
Development

No branches or pull requests

2 participants