You're right, I forgot to mention that I did rebuild tomcat-juli.jar and 
tomcat-juli-adapters.jar from the tomcat source distribution as mentionned in 
the tomcat 6 doc.

> This does not seem to be the proper configuration for Tomcat 5.5,
> either. It appears that commons-logging.properties it ignored when
> properly configuration Tomcat to use log4j.

What would a proper configuration be?

________________________________
Guillaume Cauchon | DataDirect Technologies inc.         
 -email:        guillaume.cauc...@datadirect.com         
 -mobile:       418.952-7357     
 -work:         418.649-1551     


-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Wednesday, March 04, 2009 9:33 AM
To: Tomcat Users List
Subject: Re: Servlet API loggin in tomcat 5.5 vs. tomcat 6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guillaume,

On 3/4/2009 8:42 AM, Guillaume Cauchon wrote:
> I'm talking about application logging...
> 
> In tomcat 5.5, when the level is set to DEBUG, a lot of messages are
> added in different situation (I'm only setting the root level for now to
> trace everything) : rendering jsp page, using the StAX xml parser,
> modify the context, parsing request, writing responses, etc... :

[snip]

> Using the exact same webapp and the exact same use cases in tomcat 6,
> most of the logging produced is the same, but some messages are missing
> like everything that was before produced by JspServlet (exampel above)...
> 
> My log4j configuration is really basic/simple:
> 
> - commons-logging.properties has the following line
>   org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4Jlogger

Did you read http://tomcat.apache.org/tomcat-6.0-doc/logging.html? Did
you get the Tomcat 6.0.x source? Did you "build the commons-logging
additional component using the extras.xml Ant script"? If you did, you
should have mentioned it. If not, you didn't read the documentation for
a major new release of your application server.

This does not seem to be the proper configuration for Tomcat 5.5,
either. It appears that commons-logging.properties it ignored when
properly configuration Tomcat to use log4j.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmukTkACgkQ9CaO5/Lv0PCA0QCeNjJPEA2sebZEuG34+h0/5NLU
FfEAnjvwVb2OeWKK7R6ykozVpGFDyH4p
=Zqbq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to