Title: bug: lower case severity causes crash on gapic layer · Issue #283 · googleapis/python-logging · GitHub
Open Graph Title: bug: lower case severity causes crash on gapic layer · Issue #283 · googleapis/python-logging
X Title: bug: lower case severity causes crash on gapic layer · Issue #283 · googleapis/python-logging
Description: This code causes a crash: logger.log_struct(logdata, resource=resource, severity="warning") it expects severity to be "WARNING". we should make the library more forgiving if possible
Open Graph Description: This code causes a crash: logger.log_struct(logdata, resource=resource, severity="warning") it expects severity to be "WARNING". we should make the library more forgiving if possible
X Description: This code causes a crash: logger.log_struct(logdata, resource=resource, severity="warning") it expects severity to be "WARNING". we should make the library more forgiving if pos...
Opengraph URL: https://github.com/googleapis/python-logging/issues/283
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: lower case severity causes crash on gapic layer","articleBody":"This code causes a crash:\r\n\r\n`logger.log_struct(logdata, resource=resource, severity=\"warning\")`\r\n\r\nit expects severity to be \"WARNING\". we should make the library more forgiving if possible","author":{"url":"https://github.com/daniel-sanche","@type":"Person","name":"daniel-sanche"},"datePublished":"2021-05-06T18:14:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/283/python-logging/issues/283"}
| 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:d1e0f2e2-7116-6b33-6d33-86decaebe17b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A42E:11B239:3297CA5:45A9626:6A50878C |
| html-safe-nonce | 6022d75dbf87abe16b21834c4c637f8621ce8c643dc6137ad216bbfc716a4be7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDJFOjExQjIzOTozMjk3Q0E1OjQ1QTk2MjY6NkE1MDg3OEMiLCJ2aXNpdG9yX2lkIjoiMjc5NTE3MjM0NTg4MjM4MDE3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b7877421d3e108219abcc6d46a7b2647c72008b2bea1b2adcdbc17a18c7995fa |
| hovercard-subject-tag | issue:877821588 |
| 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/283/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83e68dc6c9f23973c05d60a1e7e68a55d6194fa838b7ca45991dedf0097aa16e/googleapis/python-logging/issues/283 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83e68dc6c9f23973c05d60a1e7e68a55d6194fa838b7ca45991dedf0097aa16e/googleapis/python-logging/issues/283 |
| og:image:alt | This code causes a crash: logger.log_struct(logdata, resource=resource, severity="warning") it expects severity to be "WARNING". we should make the library more forgiving if possible |
| 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 | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width