Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Filter log messages

Before you begin

- Create log filters

Configuring a filter lets you specify criteria for accepting log messages for publishing; only the log messages that satisfy the filter criteria get published. 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.

To filter log messages by severity level or other criteria:

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, expand Environment and select Servers.
3. Under Servers, click the name of the server instance whose logging you want to configure.
4. On the Logging: General page, click Advanced.
5. Under Message Destinations:
   1. Select a severity level in the Severity Level list box.

      Only messages of the selected severity or higher are forwarded to the log destination. For information about message severity, see Message Severity.

   2. In the Filter list box, select a filter to qualify log events being sent to the message log destination.

      For more information, see Create log filters.

6. To filter messages going to the domain log:
   1. Under Message Destinations, in the Domain Log Broadcaster: Severity Level list box, select a severity level.

      Only messages of the selected severity or higher are forwarded to the domain log. You cannot forward `DEBUG` messages to the domain log. For information about message severity, see Message Severity.

   2. In the Domain Log Broadcaster: Filter list box, select a filter to qualify log events being sent to the domain log.

      For more information, see Create log filters.

7. Click Save.
8. 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).

Result

Only messages that satisfy the qualifying criteria will be published to the log message destination.