Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-js: Include library version and PID in all trace logs #2599

Merged

Conversation

murgatroid99
Copy link
Member

This fixes #2594 by removing the index tracer and moving the relevant information (the library version) into the common prefix of all trace log messages. That will also help confirm the version in the frequent case when people provide snippets of trace logs that don't include the first log, or don't have the index tracer enabled. I also included the PID because sometimes people provide logs with output from multiple processes interspersed, and this will help separate them.

Copy link

@gnossen gnossen left a comment

Choose a reason for hiding this comment

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

👍 Really nice. We should consider this for Python

@murgatroid99 murgatroid99 merged commit 694230f into grpc:@grpc/grpc-js@1.9.x Oct 17, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants