Title: bug: StructuredLogHandler instrumentation is not reliable · Issue #704 · googleapis/python-logging · GitHub
Open Graph Title: bug: StructuredLogHandler instrumentation is not reliable · Issue #704 · googleapis/python-logging
X Title: bug: StructuredLogHandler instrumentation is not reliable · Issue #704 · googleapis/python-logging
Description: The StructuredLogHandler currently sends an instrumentation log like this: logging.info(diagnostic_object.payload) This uses the root logging instance, which may not contain a GCP Logging Handler, so the log may not make its way to GCP. ...
Open Graph Description: The StructuredLogHandler currently sends an instrumentation log like this: logging.info(diagnostic_object.payload) This uses the root logging instance, which may not contain a GCP Logging Handler, ...
X Description: The StructuredLogHandler currently sends an instrumentation log like this: logging.info(diagnostic_object.payload) This uses the root logging instance, which may not contain a GCP Logging Handler, ...
Opengraph URL: https://github.com/googleapis/python-logging/issues/704
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: StructuredLogHandler instrumentation is not reliable","articleBody":"The StructuredLogHandler currently sends an instrumentation log like this:\r\n\r\n`logging.info(diagnostic_object.payload)`\r\n\r\nThis uses the root logging instance, which may not contain a GCP Logging Handler, so the log may not make its way to GCP. We should make sure the instrumentation log is written in the same method as other logs\r\n","author":{"url":"https://github.com/daniel-sanche","@type":"Person","name":"daniel-sanche"},"datePublished":"2023-01-14T01:16:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/704/python-logging/issues/704"}
| 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:0efab85d-01b2-0ec7-39c5-188dd0120d18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB8A:1A05A9:7F35C4:AA9AEC:6A515418 |
| html-safe-nonce | 3852ac73cf80f18b95feebaa0819c11e491ff3ab29542919f1374776b3f7242e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjhBOjFBMDVBOTo3RjM1QzQ6QUE5QUVDOjZBNTE1NDE4IiwidmlzaXRvcl9pZCI6IjQ4ODQ1NDcxNTIyNDY4MjE5MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95da1a9e6cdb331ecd37d061dde0b2abdd9855f20e51434275672b4df0eff806 |
| hovercard-subject-tag | issue:1533080638 |
| 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/704/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da67af6727dd99f082d3f398782fd9d8299b0350bb47c6c5cff4b34d773c13e8/googleapis/python-logging/issues/704 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da67af6727dd99f082d3f398782fd9d8299b0350bb47c6c5cff4b34d773c13e8/googleapis/python-logging/issues/704 |
| og:image:alt | The StructuredLogHandler currently sends an instrumentation log like this: logging.info(diagnostic_object.payload) This uses the root logging instance, which may not contain a GCP Logging Handler, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daniel-sanche |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994 |
| 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 | 511bff6ea06e144ed085ff736aea4c6404987b00 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width