Configuring the logging console and logging monitor event levels

book

Article ID: 168094

calendar_today

Updated On:

Products

XOS

Issue/Introduction

This article describes the CLI commands used to set the console logging and monitor logging event levels.This article describes the CLI commands used to set the console logging and monitor logging event levels.

Cause

To provide information about the configure logging console level and configure logging monitor level commands.

Resolution

configure logging console

The XOS command configure logging console level <0-7> sets the logging event level by specifying the log level in the form of a number or keyword. The default logging level is 4, which means that messages at levels 0-4 are logged.

The command configure logging console level <0-7> affects the output you will see when sending logs to a syslog server.

configure logging monitor

The XOS command configure logging monitor level <0-7> sets the logging level in the form of a number (0-7). This command also limits the logging messages displayed on terminal lines, other than the console line, to messages with a severity level at or above the specified level. The default value is 4 (warning), where messages at levels 0-4 are displayed.

The command configure logging monitor level <0-7> affects the output of the command show logging console.

Event Levels

Each log message has an event level. This event level specifies the severity level. The severity levels are listed below along with their related numerical values.

Numerical Severity / Code


0     Emergency
1     Alert
2     Critical
3     Error
4     Warning
5     Notice
6     Informational
7     Debug

Workaround

N/A