Sitelet https://github.com/googleapis/nodejs-pubsub/pull/2062
Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

feat: ad-hoc, targeted debug logging - #2062

Merged
feywind merged 13 commits into
mainfrom
adhoc-logging
Jul 22, 2025
Merged

feywind merged 13 commits into
mainfrom
adhoc-logging

Conversation

@feywind

@feywind feywind commented Jul 3, 2025 •

Copy link
Copy Markdown
Collaborator

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 July 3, 2025 23:06
Comment thread src/subscriber.ts Outdated
Comment thread src/message-stream.ts Outdated
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
Comment thread src/subscriber.ts Outdated

@sofisl sofisl left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/publisher/message-queues.ts Outdated
Comment thread src/publisher/message-queues.ts Outdated
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
@feywind
feywind deleted the adhoc-logging branch July 22, 2025 17:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants