Bugzilla – Bug 989
Implementation of python-style warning filters
Last modified: 2010-09-01 15:40:19 EDT
Important warnings are not visible if the corresponding LogComponent has not been enabled. On the other hand, turning all such important warnings into unconditional prints (e.g. via NS_LOG_UNCOND) is problematic, for they might keep appearing, thereby confusing the whole output. A proposal[1] was to use Python-style warning filters, the main advantage of which is the fact that "they appear only once per (source file, line number)". [1] http://groups.google.com/group/ns-3-users/tree/browse_frm/thread/d594df3bbccc0e23/7e8bae91888a32a9?#doc_aa5c89bdb896f714