[client] log the right version of the client

- log the client version, not the code version
- also log the source commit id when building the client