You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2016/11/13 13:07:58 UTC
[jira] [Created] (LOG4J2-1706) TimeFilter should be usable as
global filter or logger filter
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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org