Hello,

I have hard time taming velocity log output.
My webapp uses log4j globally.
velocity.properties has the following:
 runtime.log.logsystem.class = org.apache.velocity.runtime.log.Log4JLogChute
 runtime.log.logsystem.log4j.category=velocity

log4j.properties:
 log4j.rootCategory=INFO, LOGFILE
 log4j.appender.LOGFILE=org.apache.log4j.FileAppender
 ...
 log4j.velocity=WARN
 log4j.org.apache.velocity=WARN

Regardless of above configuration, velocity creates it's own
velocity.log and logs with some default settings.
What is more strange, every message is velocity.log is repeated 5 to 6 times!

Can anyone point me the best practice to configure velocity with log4j ?

Thanks.

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

Reply via email to