Add logs when a pair check fails (received binding error response, non-symmetric response, ...).

This commit is contained in:
seb 2011-05-25 06:53:24 +00:00
parent 518e661a82
commit 17e931572e

View File

@ -226,6 +226,8 @@ class ConnectivityCheckClient
{ {
logger.fine("Received a non-symmetric response for pair: " logger.fine("Received a non-symmetric response for pair: "
+ checkedPair.toShortString() + ". Failing"); + checkedPair.toShortString() + ". Failing");
logger.info("non-symmetric response for pair: "
+ checkedPair.toShortString() + ", failing");
checkedPair.setStateFailed(); checkedPair.setStateFailed();
} }
//handle error responses. //handle error responses.
@ -571,6 +573,8 @@ class ConnectivityCheckClient
logger.fine("Received an unrecoverable error response for pair " logger.fine("Received an unrecoverable error response for pair "
+ pair.toShortString() + + pair.toShortString() +
" will mark the pair as FAILED."); " will mark the pair as FAILED.");
logger.info("Error response for pair: " + pair.toShortString() +
", failing.");
pair.setStateFailed(); pair.setStateFailed();
} }
} }