-----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