[Nfd-dev] Opinion needed about logging in the library
Alex Afanasyev
alexander.afanasyev at ucla.edu
Fri Apr 11 15:04:07 PDT 2014
We have a lot of high-granular loggings in NFD. My question was just for the library.
---
Alex
On Apr 11, 2014, at 3:01 PM, Burke, Jeff <jburke at remap.ucla.edu> wrote:
>
> 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> 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> 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 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/18440f07/attachment.html>
More information about the Nfd-dev
mailing list