org.apache.velocity.tools.view
Class ServletLogChute

Deprecated.This class has been moved to Velocity Engine 1.6+ and only remains
here temporarily for users of previous Velocity Engine versions.

@Deprecated
public class ServletLogChute

extends java.lang.Object

implements org.apache.velocity.runtime.log.LogChute

Simple wrapper for the servlet log. This passes Velocity log
messages to ServletContext.log(String). You may configure the
level of output in your velocity.properties by adding the
"runtime.log.logsystem.servlet.level" property with one of the
following values: error, warn, info, debug, or trace. The default
is trace.

servletContext

PREFIX

ServletLogChute

public ServletLogChute()

Deprecated.

Construct a simple logger for a servlet environment.
NOTE: this class expects that the ServletContext has already
been placed in the runtime's application attributes
under its full class name (i.e. "javax.servlet.ServletContext").