<div dir="ltr"><div><div><div><div>Hello Junxiao,</div></div><div>I modified the nfd.conf file adding "Forwader DEBUG" in the log field: <br></div><div><br></div>log<br>{<br> ; default_level specifies the logging level for modules<br> ; that are not explicitly named. All debugging levels<br> ; listed above the selected value are enabled.<br> ;<br> ; Valid values:<br> ;<br> ; NONE ; no messages<br> ; ERROR ; error messages<br> ; WARN ; warning messages<br> ; INFO ; informational messages (default)<br> ; DEBUG ; debugging messages<br> ; TRACE ; trace messages (most verbose)<br> ; ALL ; all messages<br><br> default_level INFO<br><br> ; You may override default_level by assigning a logging level<br> ; to the desired module name. Module names can be found in two ways:<br> ;<br> ; Run:<br> ; nfd --modules<br> ;<br> ; Or look for NFD_LOG_INIT(<module name>) statements in .cpp files<br> ;<br> ; Example module-level settings:<br> ;<br> ; FibManager DEBUG<br> ; NFD DEBUG<br> ; Nfd DEBUG<br> Forwarder DEBUG<br>}<br></div><div><br></div><div><br></div><div>Is it the same for tracing NACK or I have to do what you told me?</div><div><br></div>Thank you.<br></div>Giuseppe.<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-03 15:54 GMT+01:00 Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guiseppe<div><br></div><div><font face="monospace, monospace">sudo infoedit -f /etc/ndn/nfd.conf -s log.Forwarder -p DEBUG</font></div><div><br></div><div>You'll then see relevant records showing up in NFD logs.</div><div><br></div><div>Hint: download infoedit from <a href="https://github.com/NDN-Routing/infoedit" target="_blank">https://github.com/NDN-<wbr>Routing/infoedit</a> if you don't have it.</div><div><br></div><div>Yours, Junxiao<div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 7:42 AM, Giuseppe Carella <span dir="ltr"><<a href="mailto:gcarella228@gmail.com" target="_blank">gcarella228@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Good morning community,<br><br></div>can you tell me how to configure nfd in order to trace all the interest/data packets that arrive into the NFD, including NACKs?<br><br></div>Thank you.<span class="m_-516920092838202823gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="m_-516920092838202823gmail-HOEnZb"><font color="#888888">Giuseppe.<br></font></span></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>