Class Log4JLogSystem

java.lang.Object
org.apache.velocity.runtime.log.Log4JLogChute
org.apache.velocity.runtime.log.Log4JLogSystem
All Implemented Interfaces:
LogChute, LogSystem

public class Log4JLogSystem extends Log4JLogChute implements LogSystem
Deprecated.
Use Log4JLogChute instead.
Implementation of a simple log4j system that will either latch onto an existing category, or just do a simple rolling file log. Use this one rather than SimpleLog4JLogSystem; it uses the modern Logger concept of Log4J, rather than the deprecated Categeory concept.
Since:
Velocity 1.5
Version:
$Id: Log4JLogSystem.java 463298 2006-10-12 16:10:32Z henning $
Author:
<a href="mailto:geirm@apache.org>Geir Magnusson Jr., <a href="mailto:dlr@finemaltcoding.com>Daniel L. Rall, <a href="mailto:nbubna@apache.org>Nathan Bubna
  • Constructor Details

    • Log4JLogSystem

      public Log4JLogSystem()
      Deprecated.
  • Method Details

    • logVelocityMessage

      public void logVelocityMessage(int level, String message)
      Deprecated.
      Use log(level, message).
      Specified by:
      logVelocityMessage in interface LogSystem
      Parameters:
      level -
      message -