Redirects Velocity's LogSystem messages to commons-logging.
To use, first set up commons-logging, then tell Velocity to use
this class for logging by adding the following to your velocity.properties:
runtime.log.logsystem.class = org.apache.velocity.tools.generic.log.CommonsLogLogSystem
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.commons.logging.name = org.apache.velocity
author: Nathan Bubna since: VelocityTools 1.1 version: $Id: CommonsLogLogSystem.java 479724 2006-11-27 18:49:37Z nbubna $ |