rib: Log individual FIB updates

refs: #1868

Change-Id: I400d9bed369c7c27237c2ebd7f3c31865b5c9853
diff --git a/rib/rib-manager.cpp b/rib/rib-manager.cpp
index 80a3fa2..aa859e2 100644
--- a/rib/rib-manager.cpp
+++ b/rib/rib-manager.cpp
@@ -692,7 +692,8 @@
       sendSuccessResponse(request, parameters);
     }
 
-  NFD_LOG_DEBUG("Applying " << updates.size() << " updates to FIB");
+  std::string updateString = (updates.size() == 1) ? " update" : " updates";
+  NFD_LOG_DEBUG("Applying " << updates.size() << updateString << " to FIB");
 
   // Assign an ID to this FIB transaction
   TransactionId currentTransactionId = ++m_lastTransactionId;
@@ -703,6 +704,7 @@
   for (Rib::FibUpdateList::const_iterator it = updates.begin(); it != updates.end(); ++it)
     {
       shared_ptr<const FibUpdate> update(*it);
+      NFD_LOG_DEBUG("Sending FIB update: " << *update);
 
       if (update->action == FibUpdate::ADD_NEXTHOP)
         {