Log Format Description
Log Format
Figure 3-1 shows the format of output logs.
Logs are output in the format of module name/severity level/summary/log description.
Log Field Description
Field |
Name |
Description |
---|---|---|
<Int_16> |
Leading character |
Is added to the log information to be sent to a log host and is not added to the log information saved on a local device. |
Time |
Timestamp |
Date and time when a log is output. The format of the log timestamp is configurable. |
Host |
Host name |
The default name is HUAWEI. |
%% |
Huawei identifier |
The log is output by a Huawei device. |
dd |
Version number |
Version of the log format. |
Module |
Module name |
Name of the module by which logs are output. |
Severity |
Log level |
Severity of a log. |
Brief |
Description |
Further description of a log. |
(l) |
Information type |
Log information. |
CID=Z-alarmID=F |
System component ID and alarm ID |
System component ID and alarm ID of the log. Z indicates the system component ID. F indicates the alarm ID. Only logs generated by alarms have the alarm ID. |
Desc |
Information about details |
Detailed information about the system component output. Each time before the log is output, the module fills up its contents. |
Example
2011-08-18 18:08:56 HUAWEI %%01CLI/5/LOGIN(l):CID=2160731923;VTY0 login from 192.168.0.1 succeed.
The preceding log information shows that this log was generated at 18:08:56 on August 18, 2011 on a host named HUAWEI; the log was generated by the CLI module and was at level 5; the component ID is 2160731923; the user with the IP address 192.168.0.1 successfully logged in to the system through VTY0.