Skip to content

More logging in channel implementations.#1538

Merged
zhangkun83 merged 1 commit intogrpc:masterfrom
zhangkun83:more_logging
Mar 9, 2016
Merged

More logging in channel implementations.#1538
zhangkun83 merged 1 commit intogrpc:masterfrom
zhangkun83:more_logging

Conversation

@zhangkun83
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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