Log output format
Field |
Description |
---|---|
TimeStamp UTC |
It is the time when a log message is generated and sent to the log host. By default, it is the coordinated universal time (UTC), which can be configured to the host time. TimeStamp and HostName are separated by a space. |
HostName |
It is the system name of a local host. The default HostName is HUAWEI. HostName and ModuleName are separated by a space. |
Huawei Identity |
%% refers to the identity of Huawei, indicating that the log is produced by a Huawei product. |
Version |
dd is a two-digit number starting from 01. It specifies the version of a log format. |
ModuleName |
It specifies the module that generates log messages. ModuleName and Severity are separated by a slash (/). |
Severity |
Log messages are classified into eight severity levels, ranging from 0 to 7. Severity and Brief are separated by a slash (/). |
Brief |
It is a phrase that summarizes information. |
Log Flag |
The flag and Description are separated by a colon (:).
|
Count |
It specifies the log serial number. |
Slot=A,Vcpu=B |
It indicates the system component ID to which a log belongs. The Slot and Vcpu fields are optional and are not involved in each log. The output format varies depending on the actual situation. |
Description |
It is a string of characters that describe a detailed log message. It is output by a module to the information center. It is filled in by a module at each output time. |
Trap output format
The fields in a trap are described as follows:
Field |
Description |
---|---|
# |
Information type: # indicates the alarm information. |
TimeStamp |
It is the time when an alarm message is generated. It is a variable of the date type and expressed in the format Mmm dd hh:mm:ss yyyy.
TimeStamp and HostName are separated by a space. |
HostName |
It is the system name of a local host. HostName and ModuleName are separated by a space. |
ModuleName |
It specifies the module that generates alarm messages. ModuleName and Severity are separated by a slash (/). |
Severity |
Alarm messages are classified into six severity levels. Severity and Brief are separated by a slash (/). |
Brief |
It is a phrase that summarizes information. There should be a colon (:) between the Brief field and the Description field. |
Description |
It is a string of characters that describe a detailed alarm message. It is output by a module to the information center. It is filled in by a module at each output time. |