cfm: Improve logging.
authorEthan Jackson <ethan@nicira.com>
Thu, 19 Jul 2012 03:39:54 +0000 (20:39 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 20 Jul 2012 20:04:12 +0000 (13:04 -0700)
commitc3f72482ba4d375d2dd32de6f58ed4cdcef37ddd
tree01ea68fc57deb8992977d4257dfc7a0a0659f9ed
parent91aff446f3ad343e8e392a9e2b3659b895d1487f
cfm: Improve logging.

This patch makes a two improvements to CFM logging which should
make debugging connectivity problems a bit more intuitive.  First,
when a remote_mp disappears, the length of time since its last CCM
reception is logged.  Second, the "CFM fault status changed"
message is reformatted in a more intuitive way.  Instead of
prefixing additions and deletions with pluses and minuses, the full
old fault status and new fault status are logged.

Requested-by: Ben Basler <bbasler@nicira.com>,
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/cfm.c