To use, first set up SLF4J, then tell Velocity to use this class for logging by adding the following to your velocity.properties: runtime.log.logsystem.class = org.apache.velocity.slf4j.Slf4jLogChute
You may also set this property to specify what log/name Velocity's messages should be logged to (example below is default). runtime.log.logsystem.slf4j.name = org.apache.velocity
|
|