Class RollingFileAppender

  • All Implemented Interfaces:
    ch.qos.logback.core.Appender, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.FilterAttachable, ch.qos.logback.core.spi.LifeCycle

    @Vetoed
    public class RollingFileAppender
    extends ch.qos.logback.core.rolling.RollingFileAppender
    Extends RollingFileAppender to programmatically find the application's "logs" directory.
    Author:
    Michael Remijan mjremijan@yahoo.com @mjremijan
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.FileAppender

        append, COLLISION_WITH_EARLIER_APPENDER_URL, DEFAULT_BUFFER_SIZE, fileName
      • Fields inherited from class ch.qos.logback.core.OutputStreamAppender

        encoder, lock
      • Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase

        name, started
      • Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

        context
    • Method Summary

      • Methods inherited from class ch.qos.logback.core.rolling.RollingFileAppender

        getFile, getRollingPolicy, getTriggeringPolicy, rollover, setFile, setRollingPolicy, setTriggeringPolicy, start, stop, subAppend
      • Methods inherited from class ch.qos.logback.core.FileAppender

        addErrorForCollision, checkForFileCollisionInPreviousFileAppenders, isAppend, isPrudent, openFile, rawFileProperty, setAppend, setBufferSize, setPrudent, writeOut
      • Methods inherited from class ch.qos.logback.core.OutputStreamAppender

        append, closeOutputStream, getEncoder, getOutputStream, isImmediateFlush, setEncoder, setImmediateFlush, setLayout, setOutputStream
      • Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase

        addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
      • Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface ch.qos.logback.core.spi.ContextAware

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
    • Constructor Detail

      • RollingFileAppender

        public RollingFileAppender()
                            throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException