I used velocity-1.6.2.jar
my problem that velocity.log is created on the server start under jboss/bin
jboss/bin has read only permission.
and in my appilcation when velocity-1.6.2.jar will be called I have this error:
Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
I want to change the location of Velocity.Log File
This is the location line in my velocity properties:
# ----------------------------------------------------------------------------
# default LogChute to use: default: AvalonLogChute, Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute
# ----------------------------------------------------------------------------
runtime.log.logsystem.class = org.apache.velocity.runtime.log.AvalonLogChute,org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.CommonsLogLogChute,org.apache.velocity.runtime.log.ServletLogChute,org.apache.velocity.runtime.log.JdkLogChute
# ---------------------------------------------------------------------------
# This is the location of the Velocity Runtime log.
# ----------------------------------------------------------------------------
runtime.log = velocity.log