[Nfd-dev] Opinion needed about logging in the library

Burke, Jeff jburke at remap.ucla.edu
Fri Apr 11 15:01:57 PDT 2014


Junxiao,

We rely on the quite granular logs of ccnd/ndnd for debugging.  Could you clarify where logging will not be included and whether it is any different in concept than the behavior of ccnd/ndnd?   I am worried about unlogged errors in what you are calling "packet format operations" in particular..

Thanks,

Jeff


On Apr 11, 2014, at 2:49 PM, Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>> wrote:


Dear folks

There is some value to have some logging in library. Logging is only needed for library modules that act as client (eg. Face, nrd::Controller), and is unnecessary in packet format operations and data structures.

Logs can be written to stderr. Whether to write logs can be configured in client.conf.

Yours, Junxiao

On Apr 11, 2014 2:45 PM, "Alex Afanasyev" <alexander.afanasyev at ucla.edu<mailto:alexander.afanasyev at ucla.edu>> wrote:
The ndn-cpp-dev library right now contains some semi-broken logging support (for internal library purposes).

The question I'm having is whether there is any value of fixing this logging or it would be better to just completely remove it?

---
Alex

_______________________________________________ Nfd-dev mailing list Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140411/705b9d0f/attachment.html>


More information about the Nfd-dev mailing list