|
Before you begin
Configuring a filter lets you specify criteria for accepting log messages for publishing; only the log messages that satisfy the filter criteria get published. You can filter log messages going to the log file, standard output, the domain log, or the memory buffer.
Setting a severity level is the simplest type of log message
filtering; for example, any message of a lower severity than the
specified threshold severity level, will be rejected. For example, by
default, the Stdout Handler has a NOTICE threshold
severity level. Therefore, INFO and
DEBUG level messages are not sent to standard out. You
can also use the Logger severity properties box to specify
severity levels for individual Loggers (if using the Message Catalog
Logger) or packages (if using the Commons Logging API).
To filter log messages by severity level or other criteria:
Only messages of the selected severity or higher are
forwarded to the destination. For information about message
severity, see Message Severity. Note that you cannot
forward DEBUG
messages to the domain log.
For more information, see Create log filters.
Result
Only messages that satisfy the qualifying criteria will be published to the log message destination.
| |