Skip to content

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Jul 3, 2025

This feature will add the ability to selectively enable "printf debugging" output for diagnostic introspection. This uses the new standard Google ad-hoc debug logging infrastructure introduced a few months back.

Samples:

GOOGLE_SDK_NODE_LOGGING=pubsub:*

All hand-written logic on top of the auto-generated RPCs.

GOOGLE_SDK_NODE_LOGGING=pubsub*

All logging related to Pub/Sub (including the RPCs).

GOOGLE_SDK_NODE_LOGGING=*

All logging, including things like auth.

A fuller guide will be forthcoming.

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Jul 3, 2025
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 3, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 3, 2025
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. and removed size: l Pull request size is large. labels Jul 3, 2025
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 3, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 3, 2025
@feywind feywind marked this pull request as ready for review July 3, 2025 23:06
@feywind feywind requested review from a team as code owners July 3, 2025 23:06
feywind and others added 2 commits July 16, 2025 13:38
Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com>
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 16, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 16, 2025
Copy link
Contributor

@sofisl sofisl left a comment

Choose a reason for hiding this comment

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

same general comment about private elements

hongalex
hongalex previously approved these changes Jul 21, 2025
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 21, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 21, 2025
@feywind feywind merged commit dce83c7 into main Jul 22, 2025
19 of 20 checks passed
@feywind feywind deleted the adhoc-logging branch July 22, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: xl Pull request size is extra large.
3 participants