Skip to content

Conversation

@zpencer
Copy link
Contributor

@zpencer zpencer commented Oct 19, 2017

Move netty connection log info to a separate logger:
io.grpc.netty.NettyServerTransport.connections

Users can redirect or disable this log using the usual way:
-Djava.util.logging.config.file="logging.properties"

Related to #1768, #3575

Move netty connection log info to a separate logger:
  io.grpc.netty.NettyServerTransport.connections

Users can redirect or disable this log using the usual way:
  -Djava.util.logging.config.file="logging.properties"

Related to grpc#1768, grpc#3575
@zpencer zpencer requested a review from dapengzhang0 October 19, 2017 23:48
@matt-kwong matt-kwong added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
@matt-kwong matt-kwong added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
@zpencer zpencer added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Oct 20, 2017
* The Netty-based server transport.
*/
class NettyServerTransport implements ServerTransport {
private static final Logger log = Logger.getLogger(NettyServerTransport.class.getName());
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the original log being used anymore after the change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to have both so it's more obvious to developers in the future that there's a difference between them.

Copy link
Contributor

Choose a reason for hiding this comment

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

Then you might comment on the two fields what they are used for, and maybe add @SuppressWarnings("unused") to the first one.

Copy link
Contributor

@dapengzhang0 dapengzhang0 left a comment

Choose a reason for hiding this comment

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

LGTM

@zpencer zpencer merged commit 5856a93 into grpc:master Oct 27, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 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.

4 participants