On Mon, 2010-02-22 at 19:57 -0500, Robert Story wrote:
> Currently, if you specify -Dall, you get everything. This is usually more than
> you want. Unfortunately, the code to exclude tokens (e.g. -D-parse-file,parse,
> which would log all parse messages except parse-file) does not get run when
> -Dall is specified.
>
> I'd like to change that, and search for excluded tokens when -Dall is
> specified. e.g. -Dall,-trace,-wtest
I'd love that.
I assume that the implication of that is to treat ALL as the name of the
empty string for match purposes so that
-DALL
shows all logs
-DALL,-foo
shows all logs but those that start with foo
-DALL,-foo,foobar
shows all logs but those that start with foo and not foobar
Should this affect the mib for nsDebugOutputAll as well?
Today the description is
"Whether the agent is configured to display all debugging output
rather than filtering on individual debug tokens. Nothing will
be generated unless nsDebugEnabled is also true(1)"
and the internal effect is to flip the same variable that -DALL flips.
In order to not change the MIB I think we could keep the -DALL stuff in
the code and only change the effect of the command line option, but on
the other hand I see no real reason to not deprecate the managed
variable as well.
> Proposing for trunk only, though I'd be in favor of backporting if others
> agreed.
I think backporting is out of the question due to the effects on the MIB
and the fact that we change external behaviour.
/MF
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders