Network Deployment (Distributed operating systems), v8.0 > Troubleshoot and support > Add logging and tracing to the application > Use Java logging in an application > Use a logger


Log filters

Log filters help control more detailed logging settings that are not handled by usual log level settings.

A filter provides an optional, secondary control over what is logged, beyond the control provided by setting the level. Applications can apply a filter mechanism to control logging output through the logging APIs. An example of filter usage is to suppress all the events with a particular message key.

A filter is attached to a logger or log handler using the appropriate setFilter method. For a complete list of filter methods, see the java.util.logging documentation at http://java.sun.com/javase/
Loggers
Log handlers
Log formatters


Related


Log levels

+

Search Tips   |   Advanced Search