[ndnSIM] Problem about logging

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Thu Mar 31 22:46:09 PDT 2016


could you please try again without enabling the visualizer (remove the —vis flag) and let me know whether the problem persists?


Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Mar 30, 2016, at 10:12 PM, Weihong Yang(杨伟宏) <zhsupperviol at gmail.com> wrote:
> Dear ALL,
> I was trying to enable NFD logging in my forwarding strategy, and I had followed the steps in the NFD developer guide:
> 1. include core/logger.hpp header file
> 2. declare logging module using NFD_LOG_INIT("MyStrategy");
> 3. use NFD_LOG_DEBUG("DEBUG message"); in my source code.
>  And I ran the simulation scenarios using the following command:
> NS_LOG=nfd.MyStrategy ./waf --run=Mystrategy --vis
> However, there is no output of logging information. I was wondering where I went wrong.
>  Thanks in advance.
> Yours,
> Weihong Yang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160331/a6282491/attachment.html>

More information about the ndnSIM mailing list