@@ -287,8 +287,7 @@ public void start() {
287287 try {
288288 _connection .start ();
289289 } catch (final NioConnectionException e ) {
290- logger .warn ("NIO Connection Exception {}" , e );
291- logger .info ("Attempted to connect to the server, but received an unexpected exception, trying again..." );
290+ logger .warn ("Attempt to connect to server generated NIO Connection Exception {}, trying again" , e .getLocalizedMessage ());
292291 }
293292 while (!_connection .isStartup ()) {
294293 final String host = _shell .getNextHost ();
@@ -405,7 +404,7 @@ private synchronized void scheduleHostLBCheckerTask(final long checkInterval) {
405404
406405 public void scheduleWatch (final Link link , final Request request , final long delay , final long period ) {
407406 synchronized (_watchList ) {
408- logger .debug ("Adding a watch list" );
407+ logger .debug ("Adding task with request: {} to watch list" , request . toString () );
409408
410409 final WatchTask task = new WatchTask (link , request , this );
411410 _timer .schedule (task , 0 , period );
@@ -432,7 +431,7 @@ protected void cancelTasks() {
432431 for (final WatchTask task : _watchList ) {
433432 task .cancel ();
434433 }
435- logger .debug ("Clearing watch list: {} " , _watchList .size ());
434+ logger .debug ("Clearing {} tasks of watch list" , _watchList .size ());
436435 _watchList .clear ();
437436 }
438437 }
0 commit comments