zh> You could turn off logging altogether in the log4j configuration
zh> and see what happens.  There will still be some overhead compared
zh> to removing logging completely, for calls like:

zh> Logger.info(calculateOneMillionDigitsOfPi());

Just one caution ... when you "turn off logging altogether", make sure
you put in a specific setting to turn it off.

Don't just get rid of log4j.properties (and/or log4j.xml).  Doing that
turns of visible logging because there are no appenders, by all the
loggers are still chugging away at DEBUG level, churning out great
barrles of log lines that will be thrown away, and more importantly
computing all those digits of pi because they thing someone will want
them logged (which to my mind is pretty counterintuitive).
-- 
[EMAIL PROTECTED] (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to