[ndnSIM] Visualizer shows something no showed in NS_LOG

qhsong ndn at sqh.me
Sat May 28 11:25:51 PDT 2016


Hi Sabet,
I usually use NS_LOG=nfd.Forwarder ./waf --run <scenario> to check my
NDNSim program problem, but @Anil's way is  a good way to print all log.

maybe you print all forwarder log for us to check the problem.

Best Regard,
qhsong

2016-05-28 20:59 GMT+08:00 Anil Jangam <anilj.mailing at gmail.com>:

> To enable forwarder logs, export the NS_LOG with following either from
> your env file (e.g. ~/.bashrc or equivalent) and rerun. You may delete
> specific components, which you do not want to see.
>
> # NFD LOGS.
> export
> NS_LOG=$NS_LOG':nfd.PrivilegeHelper=level_all|prefix_func|prefix_time:nfd.ContentStore=level_all|prefix_func|prefix_time:nfd.NameTree=level_all|prefix_func|prefix_time:nfd.DeadNonceList=level_all|prefix_func|prefix_time:nfd.StrategyChoice=level_all|prefix_func|prefix_time:nfd.FibManager=level_all|prefix_func|prefix_time:nfd.FibEnumerationPublisher=level_all|prefix_func|prefix_time:nfd.FaceManager=level_all|prefix_func|prefix_time:nfd.InternalFace=level_all|prefix_func|prefix_time:nfd.StrategyChoiceManager=level_all|prefix_func|prefix_time:nfd.TablesConfigSection=level_all|prefix_func|prefix_time:nfd.CommandValidator=level_all|prefix_func|prefix_time:nfd.GeneralConfigSection=level_all|prefix_func|prefix_time:nfd.ManagerBase=level_all|prefix_func|prefix_time:nfd.AccessStrategy=level_all|prefix_func|prefix_time:nfd.BroadcastStrategy=level_all|prefix_func|prefix_time:nfd.FaceTable=level_all|prefix_func|prefix_time:nfd.Strategy=level_all|prefix_func|prefix_time:nfd.Forwarder=level_all|prefix_func|prefix_time:nfd.BestRouteStrategy2=level_all|prefix_func|prefix_time:nfd.ClientControlStrategy=level_all|prefix_func|prefix_time:nfd.NdnlpPartialMessageStore=level_all|prefix_func|prefix_time:nfd.RibManager=level_all|prefix_func|prefix_time:nfd.FibUpdater=level_all|prefix_func|prefix_time:nfd.RemoteRegistrator=level_all|prefix_func|prefix_time:nfd.Rib=level_all|prefix_func|prefix_time:nfd.RibStatusPublisher=level_all|prefix_func|prefix_time:nfd.RibEntry=level_all|prefix_func|prefix_time'
>
> If you want to see everything out there, you can use following. Just be
> aware that it is going to print EVERYTHING not just in ndnSIM but also in
> NS3.
> export 'NS_LOG=*=debug|prefix_func|prefix_time'
>
> This should help.
>
> /anil.
>
>
> On Sat, May 28, 2016 at 1:11 AM, Muhammad Hosain Abdollahi Sabet <
> mhasabet at gmail.com> wrote:
>
>> qshong,
>>
>> Actually I think the forwarder sends those packets, not the applications,
>> so mentioning only applications in
>> NS_LOG=<applicationName> ./waf --run <scenario>
>>  is not going to show them to me. How can I see forwarders LOG?
>>
>> BTW, I'm on DEBUG mode.
>>
>> ​Thanks,
>> Sabet​
>>
>> On Sat, May 28, 2016 at 6:29 AM, qhsong <ndn at sqh.me> wrote:
>>
>>> Hi Sabet,
>>>  Can you print your run command? What class you print in NS_LOG?Give us
>>> some detail.
>>>
>>> Thanks,
>>> qhsong
>>>
>>> 2016-05-27 1:58 GMT+08:00 Muhammad Hosain Abdollahi Sabet <
>>> mhasabet at gmail.com>:
>>>
>>>> ​Hi All,
>>>>
>>>> I have faced a situation in which visualizer shows an exchange (both
>>>> interest and data), but NS_LOG doesn't show it. Is it a bug or something?
>>>> Or that exchange is really happening?
>>>>
>>>> Thanks,
>>>> Sabet
>>>>
>>>>>>>>
>>>>
>>>> _______________________________________________
>>>> ndnSIM mailing list
>>>> ndnSIM at lists.cs.ucla.edu
>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160529/3b0f60f3/attachment.html>


More information about the ndnSIM mailing list