Administration Console Online Help

Create log
filters

Log filters provide
control over the log messages that get published. A filter uses custom
logic to evaluate the log message content, which you use to accept or
reject a log message; for example, to filter out messages of a certain
severity level, from a particular subsystem, or according to specified
criteria. Only the log messages that satisfy the filter criteria get
published. You can create separate filters for the messages that each
server instance writes to its server log file, standard out, memory
buffer, or broadcasts to the domain-wide message log.

To create and configure a log filter:

If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).

In the left pane of the Console, select the name of the active
domain in the Domain Structure panel.

On the Configuration: Log Filters page,
click New.

On the Create a New Log Filter page, enter a
value to identify the filter in the Name
field.

Click
Finish.

The new log filter appears in the Log Filters table.

To
configure a filter expression, in the Log
Filters table, click the log filter name.

On
the Configuration page, in the Filter
Expression text box, enter criteria for qualifying
messages.

A filter expression defines simple filtering rules to limit the
volume of log messages written to a particular log destination. See
Configuration Options. For information on specifying filter
expressions, see WLDF Query Language.

Click
Save.

The filter and filter expression are listed in the Log Filters
table.

To activate these changes, in the Change Center of the Administration Console, click Activate Changes. Not all changes take effect immediately—some require a restart (see Use the Change Center).