java.lang.Object
org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
All Implemented Interfaces:
PathCondition

@Plugin(name="IfLastModified", category="Core", printObject=true) public final class IfLastModified extends Object implements PathCondition
PathCondition that accepts paths that are older than the specified duration.
Since:
2.5
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • CLOCK

      private static final Clock CLOCK
    • age

      private final Duration age
    • nestedConditions

      private final PathCondition[] nestedConditions
  • Constructor Details

  • Method Details