Set Severity Filter

Contents


1   Description

This instruction describes how to set the severity filter on a registered log stream.

The severity filter determines which event severity is to be recorded in a log. This makes it possible to choose the expected level of detail in a log stream.

2   Procedure

2.1   Set Severity Filter

Prerequisites

Steps

  1. Navigate to the Log managed object, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,LogM=1,Log=saLogSystem

  2. Enter Config mode:

    (Log=saLogSystem)>configure

  3. Configure the severityFilter attribute, for example:

    (config-Log=saLogSystem)>severityFilter=[EMERGENCY,ALERT,CRITICAL,ERROR,NOTICE]

    Note:  
    The attribute can have one or more of the values EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, and INFO.

    Log entries that have severity EMERGENCY, ALERT, and CRITICAL are not allowed by the system to be masked and the configuration will be rejected if any of these values are removed.


  4. Commit the setting:

    (config-Log=saLogSystem)>commit

  5. Verify the setting:

    (Log=saLogSystem)>show

    The following is an example output:

    Log=saLogSystem
    severityFilter
       ALERT
       CRITICAL
       EMERGENCY
       ERROR
       NOTICE
    [...]