Log driver version on first use

Description

Currently the user can access the driver version via Cluster.getDriverVersion(). It would be convenient if we logged the version on first use ((i.e. on first construction of Cluster.builder())) at level DEBUG or INFO.

Environment

None

Pull Requests

None

Activity

Show:
Olivier Michallat
January 31, 2018, 5:37 PM

I'm -0 because while it's quite easy to add, it's also trivial to do from the application code if you need it. It's not like the stuff in Native.java for example, where it would be very hard to find the information if it weren't for the logs.

Adam Holmberg
January 31, 2018, 5:45 PM

I thought it was an okay idea, not because it's difficult, but because probably most integrators don't think to do it, and this provides a good way for support to gather this information after the fact, without that forethought.

Kevin Gallardo
January 31, 2018, 6:19 PM

and this provides a good way for support to gather this information after the fact

+1, it's easier to check logs or to enable logs after the fact than to recompile - rerun and redeploy the application.

Fixed

Assignee

Unassigned

Reporter

Andy Tolbert

Labels

None

PM Priority

A

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure