[ndnSIM] Cleaner Log Version
alexander.afanasyev at UCLA.EDU
Wed Jul 9 15:13:19 PDT 2014
You should not use logger messages to obtain any metrics. All these loggings are primarily for debugging purposes and you should never run actual simulations in "debug" compilation of NS-3. When you run in "optimized" mode (./waf configure -d optimized), then none of the logging is enabled and you wouldn't get any result.
Instead. You should either use one of the available tracers (http://ndnsim.net/metric.html). If those are not sufficient you can write your own or simply modify source code and put print out statements in the places you need.
On Jul 9, 2014, at 1:07 PM, Douglas F. Streck <douglasstreck at gmail.com> wrote:
> thanks for the reply.
> 2014-07-09 17:01 GMT-03:00 Alex Afanasyev <alexander.afanasyev at ucla.edu>:
> Hi Douglas,
> Is your question about NS-3/ndnSIM or CCNx?
> On Jul 9, 2014, at 7:11 AM, Douglas F. Streck <douglasstreck at gmail.com> wrote:
> > Hi,
> > I'm new to CCN and I'm looking for a way to make NS_LOG cleaner.
> > Something that looks like this:
> > node ; time ; information (Packet send to node y, Packet recieved from x) ; prefix.
> > Is there any way to do that with NS_LOG? Should I make my own log version?
> > Thank you,
> > Douglas Streck.
> > _______________________________________________
> > ccnx-users mailing list
> > ccnx-users at ccnx.org
> > http://www.ccnx.org/mailman/listinfo/ccnx-users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM