Class RotatingFileHandler

  • All Implemented Interfaces:
    Comparable<Handler>

    public class RotatingFileHandler
    extends FileHandler
    Allows for rotating log files.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • m_RotatingExtensions

        protected String[] m_RotatingExtensions
        the extensions for the rotating logs (incl dots).
    • Constructor Detail

      • RotatingFileHandler

        public RotatingFileHandler()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class FileHandler
      • setRotatingExtensions

        public void setRotatingExtensions​(String[] value)
        Sets the extensions to use for the rotating logs.
        Parameters:
        value - the extensions (incl. dots)
      • getRotatingExtensions

        public String[] getRotatingExtensions()
        Returns the extensions in use for the rotating logs.
        Returns:
        the extensions (incl dots)
      • setUp

        protected void setUp()
        Hook method for performing setup before processing first log record.
        Overrides:
        setUp in class FileHandler