Skip to content

Log driver's hashCode during startup and shutdown #493

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
Apr 24, 2018

Conversation

lutovich
Copy link
Contributor

Previously, driver logged its fully qualified class name and hash code when created or closed. Example:

2018-04-24 03:45:48,607 Direct driver instance o.n.d.i.InternalDriver@30316b44 created for server address localhost:7687
2018-04-24 03:45:49,541 Closing driver instance o.n.d.i.InternalDriver@30316b44

Class name does not seem to be useful and this PR replaces it with logging of the hash code. Example:

2018-04-24 03:45:48,607 Direct driver instance 808545092 created for server address localhost:7687
2018-04-24 03:45:49,541 Closing driver instance 808545092

Previously, driver logged its fully qualified class name and hash code
when created or closed. Example:

```
Direct driver instance o.n.d.i.InternalDriver@30316b44 created for server address localhost:7687
Closing driver instance o.n.d.i.InternalDriver@30316b44
```

Class name does not seem to be useful and this commit replaces it with
logging of the hash code. Example:

```
Direct driver instance 808545092 created for server address localhost:7687
Closing driver instance 808545092
```
@lutovich lutovich requested a review from ali-ince April 24, 2018 13:49
@ali-ince ali-ince merged commit f381a38 into neo4j:1.6 Apr 24, 2018
@lutovich lutovich deleted the 1.6-startup-logging branch April 25, 2018 12:08
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