[Mini-NDN] LOG_LEVEL not changing

Vince Lehman (vslehman) vslehman at memphis.edu
Fri Apr 1 07:32:49 PDT 2016


Hi Navdeep,

You can set the NFD log level in two ways:

1. You can set the log level per node by adding a "nfd-log-level” field to the node’s configuration in the topology file. For example if you want to set node a’s log level to DEBUG, you can add the log level to the node’s configuration line:

[nodes]
a: _ nfd-log-level=DEBUG
b: _
…

2. If you want to set the same log level for all nodes without adding it to each node’s configuration line, you can change the default log-level in ndn/nfd.py<https://github.com/named-data/mini-ndn/blob/master/ndn/nfd.py#L34> by changing “NONE" to whichever log-level you prefer and then running “sudo ./install.sh -i” again.

I think in the future we would like to use the value in nfd.conf as the default and allow per-node configuration to override the default for the particular nodes.

--
Vince Lehman

On Apr 1, 2016, at 5:13 AM, Navdeep Uniyal <navdeep.uniyal at neclab.eu<mailto:navdeep.uniyal at neclab.eu>> wrote:

Hi,

I have recently upgraded to the latest version on minindn. I am facing issues while trying to increase the NFD log level using nfd configuration file. As per my understanding it is supposed to pick up the nfd.conf.sample from currently installed NFD but the issue is with the log level which is getting set to NONE by default even after changing in the nfd.conf.sample and other nfd.conf files. Please help.

Regards,
Navdeep Uniyal
_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu<mailto:Mini-NDN at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20160401/6c6293ae/attachment.html>


More information about the Mini-NDN mailing list