When I was looking at o.a.c.core.ApplicationDispatcher.java, I noticed it used 2 different logging styles:

- Commons Logging
- log() which tries to use context.getLogger(), and if null uses System.out

Shouldn't the log() method use commons-logging if context.getLogger() returns null?

Bonus q: If anything uses System.out (including printStackTrace()) and commons-logging is available - all System.outs should be converted to commons-logging calls?

Are there any situations where using System.out is OK?


-Tim



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



Reply via email to