Hi, It's true Tomcat 5.5.7 and later (not all 5.5.x releases) come with JULI, a tiny library Remy put in place to do away with the logging configuration difficulties. It's true that JULI should be configured with a properties file. But, as the documentation (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html) states, users still can and should configure their own log4j settings for their webapp, and they can do so in any of the log4j-supported mechanisms, including XML configuration. So while the tomcat logging configuration at $CATALINA_HOME/common is in properties format, the user configuration format in their webapp is up to them. That part of the assertion in the post you quote is false.
However, the doc isn't perfectly clear on this. I should probably clarify it further. Yoav Shapira System Design and Management Fellow MIT Sloan School of Management Cambridge, MA [EMAIL PROTECTED] / [EMAIL PROTECTED] > -----Original Message----- > From: Raymond DeCampo [mailto:[EMAIL PROTECTED] > Sent: Friday, July 29, 2005 7:41 AM > To: [email protected] > Subject: [Fwd: Re: Logging Strategy/best practice] > > Anybody know if the claims below have any merit? This is from a post on > comp.lang.programmer. > > Thanks, > Ray > > -------- Original Message -------- > Subject: Re: Logging Strategy/best practice > Date: Fri, 29 Jul 2005 10:06:24 +0300 > From: A_Wieminer <[EMAIL PROTECTED]> > Organization: Elisa Internet customer > Newsgroups: comp.lang.java.programmer > References: <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > >> 3. Anything else I should consider? > > Use the XML format for the properties file, not the .properties format. > > FYI, Tomcat5.5.x uses a new JULI (java.util.logging.interface) logging > for web applications. It can use JDKLog, Log4j or other implementations. > > I have read from tomcat site, that if you use Log4j as a logging > implementation you _must_ use .properties format. Its something to do > with how webapp-level logging is configured and xml format > incompatibilities. It is supposed to be fixed in later Log4j versions. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
BEGIN:VCARD VERSION:2.1 N:Shapira;Yoav FN:[EMAIL PROTECTED] ORG:MIT Sloan School of Management TITLE:System Design and Management Fellow URL;WORK:http://www.yoavshapira.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050611T145830Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
