Class SimpleLog4JLogSystem

java.lang.Object
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
All Implemented Interfaces:
LogSystem

public class SimpleLog4JLogSystem extends Object implements LogSystem
Deprecated.
Use Log4JLogChute instead.

This class is deprecated in favor of the new Log4JLogChute, which makes use of Log4J's Logger rather than its deprecated Category class.

Implementation of a simple log4j system that will either latch onto an existing category, or just do a simple rolling file log. Derived from Jon's 'complicated' version :)
Version:
$Id: SimpleLog4JLogSystem.java 718424 2008-11-17 22:50:43Z nbubna $
Author:
<a href="mailto:geirm@apache.org>Geir Magnusson Jr.
  • Field Details

    • logger

      protected org.apache.log4j.Category logger
      Deprecated.
      log4java logging interface
  • Constructor Details

    • SimpleLog4JLogSystem

      public SimpleLog4JLogSystem()
      Deprecated.
  • Method Details