Title: Allowing filtering/formatting of Stackdriver logs · Issue #17 · googleapis/python-logging · GitHub
Open Graph Title: Allowing filtering/formatting of Stackdriver logs · Issue #17 · googleapis/python-logging
X Title: Allowing filtering/formatting of Stackdriver logs · Issue #17 · googleapis/python-logging
Description: Hello, I'm using the instructions here to send Python logging module logs to Stackdriver. Thanks for making this so easy! However, doing this naively seems to make all logs from potentially many jobs/VMs/etc. get merged together in the S...
Open Graph Description: Hello, I'm using the instructions here to send Python logging module logs to Stackdriver. Thanks for making this so easy! However, doing this naively seems to make all logs from potentially many jo...
X Description: Hello, I'm using the instructions here to send Python logging module logs to Stackdriver. Thanks for making this so easy! However, doing this naively seems to make all logs from potentially man...
Opengraph URL: https://github.com/googleapis/python-logging/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allowing filtering/formatting of Stackdriver logs","articleBody":"Hello,\r\n\r\nI'm using the [instructions here](https://googlecloudplatform.github.io/google-cloud-python/latest/logging/usage.html#integration-with-python-logging-module) to send Python `logging` module logs to Stackdriver. Thanks for making this so easy! However, doing this naively seems to make all logs from potentially many jobs/VMs/etc. get merged together in the Stackdriver UI. When I filter to e.g. a specific VM, none of the logs show up ([screenshot](https://snag.gy/dNU6hj.jpg)) -- I have to set the filtering to \"Global\" to see them ([screenshot](https://snag.gy/ARyEc8.jpg)). Am I doing something wrong?\r\n\r\nAlso, what about logging things like files, line numbers, etc.? Is this possible? Does Stackdriver respect [formatting I apply](https://docs.python.org/3/library/logging.html#formatter-objects) using the Python logging API? What about automatic links to files in connected code repos etc. -- any info available on that?\r\n\r\nThanks!","author":{"url":"https://github.com/joshburkart","@type":"Person","name":"joshburkart"},"datePublished":"2018-03-15T20:06:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/17/python-logging/issues/17"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:298ec6dc-9871-6764-b500-14cdae9efb88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8928:20A60F:C26508:11AF803:6A54BAD2 |
| html-safe-nonce | 95f4e41762fc2f98bdf463233fe9aab9d3d37703f968a7b4e513c52618b37b19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTI4OjIwQTYwRjpDMjY1MDg6MTFBRjgwMzo2QTU0QkFEMiIsInZpc2l0b3JfaWQiOiI1MTg1MDc0MjM4ODEwNTM2NjU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 768da29c3b176a4ace0e74701f12935f0a1d7261ec8f7e6c727e9c1a4e80bc6d |
| hovercard-subject-tag | issue:560391964 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-logging/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d190252cca058a422d97806a449fac487ab250131a9b698deca8979207940dfc/googleapis/python-logging/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d190252cca058a422d97806a449fac487ab250131a9b698deca8979207940dfc/googleapis/python-logging/issues/17 |
| og:image:alt | Hello, I'm using the instructions here to send Python logging module logs to Stackdriver. Thanks for making this so easy! However, doing this naively seems to make all logs from potentially many jo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joshburkart |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-logging git https://github.com/googleapis/python-logging.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992562 |
| octolytics-dimension-repository_nwo | googleapis/python-logging |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992562 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-logging |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width