This is just a quick patch so that instead of private final boolean DEBUG = false;
we have:
private boolean DEBUG = false;
and then
public void init() ... {
DEBUG = (getInitParameter("debug") == null) ? false : new
Boolean(getInitParameter("debug")).booleanValue();
...
}
So any mailet that would emit additional log information when debugging can
be controlled by:
<mailet ...>
<debug>true | false</debug>
</mailet>
This allows developers and admins to get additional debugging information
without having to recompile.
Please sanity check. We don't want mistakes even in something this
seemingly simple. :-)
--- Noel
james-diffs
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
