Change the LOG type of CcnxConsumer and CcnxProducer
diff --git a/apps/ccnx-consumer.cc b/apps/ccnx-consumer.cc
index ae56040..cf5d131 100644
--- a/apps/ccnx-consumer.cc
+++ b/apps/ccnx-consumer.cc
@@ -315,7 +315,7 @@
interestHeader.SetMinSuffixComponents (m_minSuffixComponents);
// NS_LOG_INFO ("Requesting Interest: \n" << interestHeader);
- NS_LOG_INFO ("> Interest for " << seq);
+ NS_LOG_DEBUG ("node("<< GetNode()->GetId() <<") sending Interest for sequence " << seq);
Ptr<Packet> packet = Create<Packet> ();
packet->AddHeader (interestHeader);
@@ -354,7 +354,7 @@
// NS_LOG_INFO ("Received content object: " << boost::cref(*contentObject));
uint32_t seq = boost::lexical_cast<uint32_t> (contentObject->GetName ().GetComponents ().back ());
- NS_LOG_INFO ("< DATA for " << seq);
+ NS_LOG_INFO ("node("<< GetNode()->GetId() <<") get DATA for sequence " << seq);
boost::mutex::scoped_lock (m_seqTimeoutsGuard);
@@ -384,7 +384,7 @@
// NS_LOG_INFO ("Received NACK: " << boost::cref(*interest));
uint32_t seq = boost::lexical_cast<uint32_t> (interest->GetName ().GetComponents ().back ());
- NS_LOG_INFO ("< NACK for " << seq);
+ NS_LOG_DEBUG ("node("<< GetNode()->GetId() <<") < NACK for " << seq);
// put in the queue of interests to be retransmitted
NS_LOG_INFO ("Before: " << m_retxSeqs.size ());
diff --git a/apps/ccnx-producer.cc b/apps/ccnx-producer.cc
index 3a37efd..9a41c82 100644
--- a/apps/ccnx-producer.cc
+++ b/apps/ccnx-producer.cc
@@ -101,7 +101,7 @@
Ptr<CcnxContentObjectHeader> header = Create<CcnxContentObjectHeader> ();
header->SetName (Create<CcnxNameComponents> (interest->GetName ()));
- NS_LOG_INFO ("Respodning with ContentObject:\n" << boost::cref(*header));
+ NS_LOG_INFO ("node("<< GetNode()->GetId() <<") respodning with ContentObject:\n" << boost::cref(*header));
Ptr<Packet> packet = Create<Packet> (m_virtualPayloadSize);