Skip to content

chore(logging): standardize logging in _shared_macros#2277

Merged
vchudnov-g merged 1 commit intomainfrom
log-rest
Dec 9, 2024
Merged

chore(logging): standardize logging in _shared_macros#2277
vchudnov-g merged 1 commit intomainfrom
log-rest

Conversation

@vchudnov-g
Copy link
Contributor

No description provided.

@vchudnov-g vchudnov-g requested a review from a team as a code owner December 6, 2024 23:14
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Dec 6, 2024
@vchudnov-g vchudnov-g requested a review from ohmayr December 6, 2024 23:14
@vchudnov-g vchudnov-g changed the title chore: standardize logging in _shared_macros chore(logging): standardize logging in _shared_macros Dec 6, 2024
@product-auto-label product-auto-label bot added the api: logging Issues related to the Cloud Logging API. label Dec 7, 2024
"metadata": str(dict(metadata)),
"httpRequest": http_request,
{# TODO(https://github.com/googleapis/gapic-generator-python/issues/2275): logging `metadata` seems repetitive and may need to be cleaned up #}
"metadata": http_request["headers"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this from here now. It isn't needed. Not blocking.

"rpcName": "{{ name }}",
"httpResponse": http_response,
{# TODO(https://github.com/googleapis/gapic-generator-python/issues/2275): logging `metadata` seems repetitive and may need to be cleaned up #}
"metadata": http_response["headers"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

@vchudnov-g vchudnov-g merged commit 8ceeaae into main Dec 9, 2024
85 checks passed
@vchudnov-g vchudnov-g deleted the log-rest branch December 9, 2024 17:50
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. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants