System Log Configuration - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

Attention:By default the system log is disabled. When it is enabled, because of the
classification and output of the information, especially when there is a large amount of
information under processing, the system performance will be affected.
5.6.1.3 The three-level switch of log message
The system log uses three-level switch architecture to control the output of the log
message: global log switch, log output channel state and the module state of channel filter
Items.
Only when the global switch is on, the log message is written to the log message
queue.
After the switch boots, the system log task is started. The aim of this task is to
read out every log message from the log message queue, and to send them out
through every output channel. Only when the output channel is in 'Enable' state,
the log message can be sent out through it.
When the log message enters the output channel, it will be checked according to the
output channel's filter items, only when the source module of the log message is marked
as 'On' in the filter items, the log message can be actually sent out through the output
channel.

5.6.2 System Log Configuration

5.6.2.1 System Log Configuration Task List
1. Set the global log switch
2. Set the output channel of the console.
3. Set the output channel of the user's terminal
4. Set the output channel of the log buffer
5. Set the output channel of the log host
6. Display the information of the log channel
7. Set the filter items of the log output channel.
1. Set the global log switch
Command
Privileged configuration mode
logging on
no logging on
1. 2. Set the output channel of the console
Command
Privileged configuration mode
logging console
no logging console
DCS-3950 series Ethernet switch manual
Description
Enable the global log function. Prefixing the
command with a 'no' will disable this function.
Description
Open the output channel of the console.
Prefixing the command with a 'no' will disable
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents