RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Jacob Kjome
Quoting Benson Margulies <[EMAIL PROTECTED]>: > Sure, but the other question is this: > > ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that > same log was somehow available to any old bit-o-java when running in the > environment? > So, you want all logging to go to the serv

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Benson Margulies
Sure, but the other question is this: ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that same log was somehow available to any old bit-o-java when running in the environment? - To unsubscribe, e-mail: [EMAIL

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Mike Curwen
I believe that it's 'normal' to use a logging package, rather than system.out to perform debug logging. A package like log4j has many advantages including: 1) It's popular (so you get support and lots of people can help) 2) It's super-configurable (you can turn each class/package on or off, or adj