logging: Reducing log level in several places
INFO level is suppose to be used for informational messages that are
useful for ordinary user, but in several places we used it as a DEBUG
output.
In CS the level is reduced even more, to TRACE.
Change-Id: I9058e25d95de79661099dd4624d802cc33420983
diff --git a/daemon/fw/face-table.cpp b/daemon/fw/face-table.cpp
index 8601598..f59ff14 100644
--- a/daemon/fw/face-table.cpp
+++ b/daemon/fw/face-table.cpp
@@ -36,7 +36,7 @@
FaceId faceId = ++m_lastFaceId;
face->setId(faceId);
m_faces[faceId] = face;
- NFD_LOG_INFO("addFace id=" << faceId);
+ NFD_LOG_INFO("Added face id=" << faceId << " uri=" << face->getUri());
face->onReceiveInterest += bind(&Forwarder::onInterest,
&m_forwarder, boost::ref(*face), _1);
@@ -56,7 +56,7 @@
FaceId faceId = face->getId();
m_faces.erase(faceId);
face->setId(INVALID_FACEID);
- NFD_LOG_INFO("removeFace id=" << faceId);
+ NFD_LOG_INFO("Removed face id=" << faceId << " uri=" << face->getUri());
// XXX This clears all subscriptions, because EventEmitter
// does not support only removing Forwarder's subscription