Skip to content

modify loginfo when visiting namesrv#1478

Closed
keranbingaa wants to merge 2 commits into
apache:developfrom
keranbingaa:loginfo_modify
Closed

modify loginfo when visiting namesrv#1478
keranbingaa wants to merge 2 commits into
apache:developfrom
keranbingaa:loginfo_modify

Conversation

@keranbingaa
Copy link
Copy Markdown
Contributor

What is the purpose of the change

work for this issue, the loginfo is ambiguity when visiting namesrv, so we modify the loginfo to make it clear.

Brief changelog

use the variable channel to replace addr in the log statement.

@keranbingaa keranbingaa changed the title modify loginfo modify loginfo when visiting namesrv Sep 23, 2019
@coveralls
Copy link
Copy Markdown

coveralls commented Sep 23, 2019

Coverage Status

Coverage increased (+0.3%) to 49.76% when pulling 0d444de on keranbingaa:loginfo_modify into 61f4f99 on apache:develop.

@duhenglucky
Copy link
Copy Markdown
Contributor

@keranbingaa address seems more clear than the channel, IMHO, print all channel info isn't a good choice in here.

@keranbingaa
Copy link
Copy Markdown
Contributor Author

@duhenglucky I modify what print out, and now it just print the address, and when the variable address is null, it will also print the remote address.

@ChaosYjh
Copy link
Copy Markdown
Contributor

I think printing address is more clear too.And just printing channel.remoteAddress() will be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants