Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

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:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, select the name of the active domain in the Domain Structure panel.
  3. On the Configuration: Log Filters page, click New.
  4. On the Create a New Log Filter page, enter a value to identify the filter in the Name field.
  5. Click Finish.

    The new log filter appears in the Log Filters table.

  6. To configure a filter expression, in the Log Filters table, click the log filter name.
  7. 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.

  8. Click Save.

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

  9. 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).

After you finish

Assign the filter to one or more log message destinations. See Filter log messages.

Back to Top