User Guide
Managing filters 47
Deleting handlers
You cannot delete a handler if it is the global handler or if it is associated with a logger.
To delete a handler
1. In the Tree pane, browse to System > Shared Resources > Logger > Handlers.
2. In the List pane, select the handler you want to delete.
3. In the List pane toolbar, click the Delete button.
Managing filters
Filter is another aspect of logger that can be configured from the shared resources. You may want to view logs
based on specified filtering criteria. Not all messages generated by loggers would be important for your
reference. In such case, use a filter to sort out only the type of messages you would want to record.
Creating filters
Create a filter so that you can associate it with a logger to filter its messages.
To create a filter
1. In the Tree pane, browse to System > Shared Resources > Logger > Filters.
2. In the List pane toolbar, click the New button.
The Properties pane refreshes to show the properties of the filter.
2. In the Properties pane, on the General tab provide the following details.
Name: Provide a name for the filter.
Description: Provide a brief description.
Include expression: Type the regular expressions based on which you want to filter the logs. The logs
with the expression provided in this field will be included.
Exclude expression: Type the regular expressions based on which you want to filter the logs. The logs
with the expression provided in this field won’t be included. Example of a regular expression: ^[0-9a-
zA-Z\.\-\_]+\@[0-9a-zAZ\.\-]+$, this expression refers to a format X@Y. Z (john@cisco.com).
User name: Type the user name of the user for which you want to see the logs. When you use this filter
it only shows the logs related to the actions done by this particular user in the system.