Remko Popma created LOG4J2-1706: ----------------------------------- Summary: TimeFilter should be usable as global filter or logger filter Key: LOG4J2-1706 URL: https://issues.apache.org/jira/browse/LOG4J2-1706 Project: Log4j 2 Issue Type: Improvement Components: Filters Affects Versions: 2.7 Reporter: Remko Popma Fix For: 2.8
With the current implementation, TimeFilter will always return NEUTRAL unless configured on an Appender or an AppenderRef. This ticket proposes to allow TimeFilter to be used as a global filter or as a logger filter. When a LogEvent is not available, TimeFilter will filter on the current time, obtained from the log4j [Clock|https://logging.apache.org/log4j/2.x/manual/configuration.html#log4j.Clock] (the system time by default). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org