[Nfd-dev] NFD Boost Logging

Junxiao Shi shijunxiao at email.arizona.edu
Tue Jun 6 11:32:15 PDT 2017


Hi Damian

As a general recommendation, loggers from NLSR should start with "nlsr." so
they don't conflict with other loggers.
Then, when you start NLSR, pass NDN_LOG=nlsr.Adjacency=DEBUG in the
environment, which will activate "nlsr.Adjacency" logger at DEBUG level.
Currently each logger must be listed individually, and syntax like
NDN_LOG=nlsr.*=DEBUG isn't supported. You are welcome to contribute this
feature. Remember to enter an issue on ndn-cxx Redmine tracker before
coding.

Yours, Junxiao

On Mon, Jun 5, 2017 at 09:16 Lan Wang (lanwang) <lanwang at memphis.edu> wrote:

> I think Damian wants to do module specific logging in NLSR.  Can you tell
> him how to do this using the logger in ndn-cxx?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170606/c7287631/attachment.html>


More information about the Nfd-dev mailing list