logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Agrawal <agra...@lucent.com>
Subject Re: servlet log appender
Date Tue, 06 Mar 2001 22:04:09 GMT
Actually if you check - those same Log4j messages would be going to the
${TOMCAT_HOME}/logs/jvm.stdout file.  If you want to control the pattern of the
output, create a log4j.properties file (as suggested in the log4j user-docs) and
put them in your WEB-INF/classes directory.

Good luck.

Harry.Burdick@sybase.com wrote:

> I've just started using Log4j in Tomcat.  Using BasicConfigurator, all my
> Log4j messages stream to the Tomcat console.
> How do I make them go to the log?
> Is there a servlet log appender that send trace commands to the
> ServletContext.log method or the GenericServlet.log method?
> Or is there some other way I should be doing this?

View raw message