Skip to content

Logging improvements: #557

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

Merged
merged 1 commit into from
Jan 24, 2019
Merged

Conversation

PetrJanouch
Copy link
Contributor

  • each frame is logged only once
  • server address is now part of the logging message

@PetrJanouch PetrJanouch force-pushed the 1.7_logging_improvements branch 3 times, most recently from cb836a5 to b5df4a4 Compare January 22, 2019 08:43
@PetrJanouch PetrJanouch requested a review from zhenlineo January 22, 2019 10:39
Copy link
Contributor

@ali-ince ali-ince left a comment

Choose a reason for hiding this comment

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

LGTM.

Only made a small comment on valueOrEmpty method's place.

return serverAddress;
}

private String valueOrEmpty( String value )
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe move this into org.neo4j.driver.internal.util.Format class as a static method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

  - each frame is logged only once
  - server address is now a part of the logging message
@PetrJanouch PetrJanouch force-pushed the 1.7_logging_improvements branch from b5df4a4 to 04aeeb6 Compare January 23, 2019 08:55
@ali-ince ali-ince merged commit cd569f5 into neo4j:1.7 Jan 24, 2019
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.

2 participants