Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    log severity

    Syntax

    log severity { severityValue | off | severityNumber }
    [ eventCategory [ instanceTree ] | eventCategory instanceTree | eventCategory ]

    no log severity [ severityValue | off | severityNumber ] [ eventCategory
    [ filters | instanceTree ] | eventCategory { filters | instanceTree } | eventCategory | * ]

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Sets the severity level for systemwide logs (that is, when no individual event category is specified) or for a specific event category. The no version returns severity changes to their default settings or the systemwide setting.

    Note: After you change the log severity level for an individual log event category, you cannot use systemwide commands to subsequently change the severity level for that category. To change individually altered log event categories using systemwide commands, you must first change the log event back to its default setting.

    Options

    • severityValue and severityNumber—Minimum severity of the log messages displayed for the selected category; described either by a descriptive term—severityValue—or by a corresponding number—severityNumber—in the range 0–7. The lower the number, the higher the priority:
      • emergency or 0—System unusable
      • alert or 1—Immediate action needed
      • critical or 2—Critical condition exists
      • error or 3—Error condition
      • warning or 4—Warning condition
      • notice or 5—Normal but significant condition
      • info or 6—Informational message
      • debug or 7—Debug message
    • off—Disables systemwide log severity for all default level event categories when no event category is specified or disables log severity for a specified event category
    • eventCategory—Log category; refer to the CLI online Help for available options
    • filters—Removes all log filters for the event category
    • instanceTree—Log-specific filter parameters; refer to the CLI online Help for available options
    • *—Resets all log severities, systemwide and individual, to default settings

    Mode

    Global Configuration

    Published: 2014-08-14