rib: Change register/unregister logging to INFO
refs: #2547
Change-Id: Iedf72cb9c9f36742ea43650f8cdd4a9450c987de
diff --git a/rib/rib-manager.cpp b/rib/rib-manager.cpp
index e577626..fa2c318 100644
--- a/rib/rib-manager.cpp
+++ b/rib/rib-manager.cpp
@@ -311,7 +311,9 @@
route.expires = time::steady_clock::TimePoint::max();
}
- NFD_LOG_TRACE("register prefix: " << route);
+ NFD_LOG_INFO("Adding route " << parameters.getName() << " nexthop=" << route.faceId
+ << " origin=" << route.origin
+ << " cost=" << route.cost);
m_managedRib.insert(parameters.getName(), route);
m_registeredFaces.insert(route.faceId);
@@ -365,7 +367,8 @@
route.faceId = parameters.getFaceId();
route.origin = parameters.getOrigin();
- NFD_LOG_TRACE("unregister prefix: " << route);
+ NFD_LOG_INFO("Removing route " << parameters.getName() << " nexthop=" << route.faceId
+ << " origin=" << route.origin);
m_managedRib.erase(parameters.getName(), route);