Class RollingPolicyBase

    • Field Detail

      • fileNamePatternStr

        protected String fileNamePatternStr
    • Constructor Detail

      • RollingPolicyBase

        public RollingPolicyBase()
    • Method Detail

      • determineCompressionMode

        protected void determineCompressionMode()
        Given the FileNamePattern string, this method determines the compression mode depending on last letters of the fileNamePatternStr. Patterns ending with .gz imply GZIP compression, endings with '.zip' imply ZIP compression. Otherwise and by default, there is no compression.
      • setFileNamePattern

        public void setFileNamePattern(String fnp)
      • getFileNamePattern

        public String getFileNamePattern()
      • isStarted

        public boolean isStarted()
      • start

        public void start()
      • stop

        public void stop()
      • setParent

        public void setParent(FileAppender appender)
        Description copied from interface: RollingPolicy
        This method allows RollingPolicy implementations to be aware of their containing appender.
      • isParentPrudent

        public boolean isParentPrudent()
      • getParentsRawFileProperty

        public String getParentsRawFileProperty()