[Nfd-dev] [Ndn-interest] configuration_nfd

Giuseppe Carella gcarella228 at gmail.com
Wed Jan 3 08:14:08 PST 2018


Hello Junxiao,
I modified the nfd.conf file adding "Forwader DEBUG" in the log field:

log
{
  ; default_level specifies the logging level for modules
  ; that are not explicitly named. All debugging levels
  ; listed above the selected value are enabled.
  ;
  ; Valid values:
  ;
  ;  NONE ; no messages
  ;  ERROR ; error messages
  ;  WARN ; warning messages
  ;  INFO ; informational messages (default)
  ;  DEBUG ; debugging messages
  ;  TRACE ; trace messages (most verbose)
  ;  ALL ; all messages

  default_level INFO

  ; You may override default_level by assigning a logging level
  ; to the desired module name. Module names can be found in two ways:
  ;
  ; Run:
  ;   nfd --modules
  ;
  ; Or look for NFD_LOG_INIT(<module name>) statements in .cpp files
  ;
  ; Example module-level settings:
  ;
  ; FibManager DEBUG
  ; NFD DEBUG
  ; Nfd DEBUG
    Forwarder DEBUG
}


Is it the same for tracing NACK or I have to do what you told me?

Thank you.
Giuseppe.


2018-01-03 15:54 GMT+01:00 Junxiao Shi <shijunxiao at email.arizona.edu>:

> Hi Guiseppe
>
> sudo infoedit -f /etc/ndn/nfd.conf -s log.Forwarder -p DEBUG
>
> You'll then see relevant records showing up in NFD logs.
>
> Hint: download infoedit from https://github.com/NDN-Routing/infoedit if
> you don't have it.
>
> Yours, Junxiao
>
>
> On Wed, Jan 3, 2018 at 7:42 AM, Giuseppe Carella <gcarella228 at gmail.com>
> wrote:
>
>> Good morning community,
>>
>> can you tell me how to configure nfd in order to trace all the
>> interest/data packets that arrive into the NFD, including NACKs?
>>
>> Thank you.
>> Giuseppe.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20180103/3e86747d/attachment-0001.html>


More information about the Nfd-dev mailing list