tomcat-dev mailing list archives

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

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?


View raw message