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

[EMAIL PROTECTED] 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?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to