Class RollingFileAppender<E>

  • All Implemented Interfaces:
    Appender<E>, ContextAware, FilterAttachable<E>, LifeCycle

    @Deprecated(since="2022-01-27")
    public class RollingFileAppender<E>
    extends FileAppender<E>
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.

    For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#RollingFileAppender

    • Constructor Detail

      • RollingFileAppender

        public RollingFileAppender()
        Deprecated.
    • Method Detail

      • stop

        public void stop()
        Deprecated.
        Description copied from class: OutputStreamAppender
        Stop this appender instance. The underlying stream or writer is also closed.

        Stopped appenders cannot be reused.

        Specified by:
        stop in interface LifeCycle
        Overrides:
        stop in class FileAppender<E>
      • setFile

        public void setFile​(java.lang.String file)
        Deprecated.
        Description copied from class: FileAppender
        The File property takes a string value which should be the name of the file to append to.
        Overrides:
        setFile in class FileAppender<E>
      • getFile

        public java.lang.String getFile()
        Deprecated.
        Description copied from class: FileAppender
        Returns the value of the File property.

        This method may be overridden by derived classes.

        Overrides:
        getFile in class FileAppender<E>
      • rollover

        public void rollover()
        Deprecated.
        Implemented by delegating most of the rollover work to a rolling policy.
      • getRollingPolicy

        public RollingPolicy getRollingPolicy()
        Deprecated.
      • setRollingPolicy

        public void setRollingPolicy​(RollingPolicy policy)
        Deprecated.
        Sets the rolling policy. In case the 'policy' argument also implements TriggeringPolicy, then the triggering policy for this appender is automatically set to be the policy argument.
        Parameters:
        policy -
      • setTriggeringPolicy

        public void setTriggeringPolicy​(TriggeringPolicy<E> policy)
        Deprecated.