SNR S2995G-48TX-POE [3/12] Priority
![SNR S2995G-48TX-POE [3/12] Priority](/views2/1978545/page3/bg3.png)
Information Center Configuration Chapter 1 Overview
1-2
logbuffer Log buffer
logfile <1-4> Log file
The Settings for the output directions are independent of each other, but the
information center needs to be opened before the settings take effect.
1.4 Source information format
The format of the source information is as follows
:
<priority>timestamp sysname module/level/digest:content
The angle brackets (<>), spaces, slashes (/), and colon (:) are required in the above
format when configuring the log prefix; where angle brackets are valid only when the
output direction is the log host.
An example of the log format to be output to the log host is shown below:
<188>Sep 28 15:33:46:235 2005 MyDevice SHELL/5/LOGIN: Console login from con0
Another example of the log format without prefix is shown below:
Console login from con0
Each field is described in detail below:
1) Priority
The priority is calculated as follows
:
facility*8+severity-1。
Facility can be local0 ~ local7, default is local7. The value is 16-23
.
Severity ranges from 1 to 8. For more information about severity, refer to Table 1-1.
There is no character between the priority and the timestamp. The priority is valid
only when the information is sent to the log host.
The origin of facililty is worth mentioning. Facility is a unique attribute when
information is output to the log host, and has no meaning for other output directions. Its
value local0 ~ local7 comes from the log type which the early syslog protocol defined for
the UNIX log host. All types are as follows:
Table 1-3
facility code
kernel messages 0
user-level messages 1
mail system 2
Содержание
- Basic concepts 1 1 1
- Chapter 1 overview 1 1 1
- Chapter 2 configure sequence 2 1 1
- Chapter 3 instructions 3 1 1
- Chapter 4 erratum 4 1 1
- Configure onekey collection 3 3 1
- Console output log 3 1 1
- Content 1
- Delete logs recorded by logbuffer or trapbuffer 3 3 1
- Information sources 1 1 1
- Logbuffer output log 3 1 1
- Logfile output log 3 2 1
- Loghost output log 3 2 1
- Monitor output log 3 1 1
- Output direction 1 1 1
- Record user operation commands 3 2 1
- Source information format 1 2 1
- Trapbuffer output log 3 1 1
- View the area that supports storing files 3 3 1
- Basic concepts 2
- Chapter 1 overview 2
- Information sources 2
- Output direction 2
- Priority 3
- Source information format 3
- Timestamp 4
- Content 5
- Digest 5
- Module 5
- Severity 5
- Sysname 5
- Chapter 2 configure sequence 6
- Chapter 3 instructions 9
- Console output log 9
- Logbuffer output log 9
- Monitor output log 9
- Trapbuffer output log 9
- Logfile output log 10
- Loghost output log 10
- Record user operation commands 10
- Configure onekey collection 11
- Delete logs recorded by logbuffer or trapbuffer 11
- View the area that supports storing files 11
- Chapter 4 erratum 12
Похожие устройства
- SNR S2995G-48TX-POE Техническое Описание
- SNR S5210G-24TX Техническое Описание
- SNR S5210G-24TX Руководство администратора
- SNR S5210G-24TX Руководство по эксплуатации
- SNR S5210G-24TX-UPS-R Техническое Описание
- SNR S5210G-24TX-UPS-R Руководство администратора
- SNR S5210G-24TX-UPS-R Руководство по эксплуатации
- SNR S5210X-8F Техническое Описание
- SNR S5210X-8F Руководство администратора
- SNR S5210X-8F Руководство по эксплуатации
- SNR S2982G-24TE-UPS Техническое Описание
- SNR S2982G-24TE-UPS Руководство по настройке
- SNR S5210G-24TX-UPS Техническое Описание
- SNR S5210G-24TX-UPS Руководство администратора
- SNR S5210G-24TX-UPS Руководство по эксплуатации
- SNR SNR-S7550Y-48C Техническое Описание
- SNR SNR-S7550Y-48C Руководство по Настройке
- SNR S2985G-24T-DC Техническое Описание
- SNR S2985G-24T-DC Руководство по настройке
- SNR S2962-24T-RPS Техническое Описание