JGroupsPeerInfoProvider: Fix broken log formatting

- On successful connection, the channel should be logged with
  getName() otherwise the log message is the java object id.

- On failed connection, the channel name was not passed to the
  format arguments resulting in the exception stack trace being
  logged in place of the channel name.

Also fix spelling of "successfully".

Change-Id: I7a4b1199a6c8ca3da22caf1d06f5c7f7e4663a76
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
1 file changed
tree: d274b217717931dc61a8eef59474cf400f773ec7
  1. lib/
  2. src/
  3. .buckconfig
  4. .gitignore
  5. .mailmap
  6. BUCK