velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <>
Subject Re: setting up velocity to log to servlet log
Date Mon, 10 Jan 2005 14:59:32 GMT
Hi John,

> Right now, Tomcat is set up to log to
> ${TOMCAT_HOME}/logs/localhost_log.yyyy-mm-dd.txt (yyyy-mm-dd being the
> current date, of course).
> I tire of Velocity using the AvalonLogSystem and logging to my app tree,
> instead I wish to point it to the servlet logs (at least for this
> particular app).

## snip

> Any ideas for this noob? :-)

I recommend using VelocityViewServlet, which by default uses
ServletLogger, which logs using ServletContext#log().

Best regards,
-- Shinobu

Shinobu "Kawai" Yoshida <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message