Bug 91 - enabling logging based on environment variable is intrusive
enabling logging based on environment variable is intrusive
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-14 10:18 UTC by Tom Henderson
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments
alternate environment variable mechanism (13.85 KB, patch)
2007-10-14 10:20 UTC, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2007-10-14 10:18:53 UTC
This patch is in response to the below email message:
http://mailman.isi.edu/pipermail/ns-developers/2007-October/003430.html
Comment 1 Tom Henderson 2007-10-14 10:20:37 UTC
Created attachment 82 [details]
alternate environment variable mechanism

posted on behalf of Craig
Comment 2 Mathieu Lacage 2007-10-15 01:48:32 UTC
looks great. as a comment, print-list would be trivial to add back by defining a single subclass instance of the LogComponent base class which would look in the env var for the print-list value fro; its constructor.

I can patch this in later after you push this patch.
Comment 3 Mathieu Lacage 2007-11-21 08:15:19 UTC
changeset  5bc0b0d8d620