tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject System.out refs
Date Thu, 07 Aug 2003 14:06:20 GMT
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


Mime
View raw message