Filters are
used to filter the log events. Filters take the decision, whether to log the
event (or) not.
You can
configure filters in one of four locations.
a.
Context-wide
filters: You can configure filters at configuration level. Events that are
rejected by these filters will not be passed to loggers for further processing.
b.
Logger
filters: These filters are configured at logger level. Events that are rejected
by these filters will be discarded and the event will not be passed to a parent
Logger regardless of the additivity setting.
c.
Appender
filters: filters attached to appender and take decision whether this appender
accept (or) reject the log event.
d. Appender Reference Filters: Determine if a Logger should route the event to an appender.
d. Appender Reference Filters: Determine if a Logger should route the event to an appender.
No comments:
Post a Comment