Howdy, >I would like to set up Tomcat to use the JDK 1.4 Logging API for logging > >- all Log-Messages from Tomcat >- all Log-Messages originating from within my Webapplikation.
Those are two different goals. Do you really want to tie your logging into how tomcat logs things? Typically, those are left separate. In general, you also want your application to be as portable and therefore container-independent as possible. For the tomcat part: see the Logger configuration reference for more details: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html Also note that tomcat 4.1.x makes jakarta commons logging available to webapps by placing the API in the common/lib directory. So if you write your code to use commons-logging, and JDK 1.4 is available in the classpath, you will automatically get JDK 1.4 logging. Personally, I like log4j much better than JDK 1.4 logging, and don't find much value to commons-logging either, so I just use log4j and have been very happy with it. Searching the list archives of this and the log4j-user list will show you many comparison and discussion threads on log4j vs. JDK 1.4 logging with and without commons-logging in the middle. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
