<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">NS_LOG is enabled only in debug version of the simulator and scenario.  I'm guessing that you have compiled in optimized mode, where al NS_LOG macros are expanded to nothing.  Visualizer is using trace mechanism, so it works in either case.<div class=""><br class=""></div><div class="">Just compile NS-3 and your scenario in debug mode and it should work.</div><div class=""><br class=""></div><div class="">---</div><div class="">Alex<br class=""><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet <<a href="mailto:mhasabet@gmail.com" class="">mhasabet@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif">​Hi All,<br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have faced a situation in which visualizer shows an exchange (both interest and data), but NS_LOG doesn't show it. Is it a bug or something? Or that exchange is really happening?<br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks,<br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Sabet<br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>