← Back to team overview

dhis2-devs team mailing list archive

Re: Velocity log

 

I agree, it is a minor issue. It is just annoying when trawling through logs
to see all this stuff which seemingly we have no use for, and no control
over (especially in production environments)

The diff I sent, along with the addition of a velocity.properties file in
WEB-INF/classes with content


runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log.logsystem.log4j.category=velocity

stops the initial error from happening as well as the other error I detailed
in the log.

I will prepare a patch and send to Lars/Jo/Bob for consideration.
Regards,
Jason


On Sat, Oct 29, 2011 at 8:00 PM, Jo Størset <storset@xxxxxxxxx> wrote:

> hi,
>
> the velocity manager is a new addition used in places where we use velocity
> on our own, and as you show is prbably easy enough to fix. It will probably
> be a bit more cumbersome to override struts' initalization of velocity, and
> I'm not sure it is worth the effort..
>
> Jo

Follow ups

References