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

More logging in channel implementations. #1538

Merged
merged 1 commit into from
Mar 9, 2016

Conversation

zhangkun83
Copy link
Contributor

Add log ID to ManagedChannelImpl, TransportSet and all client transport implementations, so they can be correlated in the logs. Also added more life-cycle logging in general.

@carl-mastrangelo @ejona86


@Override
public String getLogId() {
return "InProcessTransport@" + Integer.toHexString(hashCode());
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI, hashcodes will be reused within the same process as transports come and go.

@carl-mastrangelo
Copy link
Contributor

LGTM

To ManagedChannelImpl, TransportSet and all client transport
implementations, so they can be correlated in the logs. Also added more
life-cycle logging in general.
@zhangkun83 zhangkun83 merged commit b9c1232 into grpc:master Mar 9, 2016
@zhangkun83 zhangkun83 deleted the more_logging branch March 9, 2016 21:54
@ejona86 ejona86 mentioned this pull request Mar 23, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants