Class SimpleLog4JLogSystem

  • All Implemented Interfaces:
    LogSystem

    public class SimpleLog4JLogSystem
    extends java.lang.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:
    • Field Detail

      • logger

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

      • SimpleLog4JLogSystem

        public SimpleLog4JLogSystem()
        Deprecated.
    • Method Detail

      • logVelocityMessage

        public void logVelocityMessage​(int level,
                                       java.lang.String message)
        Deprecated.
        logs messages
        Specified by:
        logVelocityMessage in interface LogSystem
        Parameters:
        level - severity level
        message - complete error message
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Deprecated.
        Also do a shutdown if the object is destroy()'d.
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • shutdown

        public void shutdown()
        Deprecated.
        Close all destinations