Log Format Description

Log Format

Figure 1 shows the format of output logs.

Logs are output in the format of module name/severity level/summary/log description.

Figure 1 Format of output log information

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.

TIMESTAMP

Timestamp

Date and time when a log is output.

Date and time when a log is output, in the format "yyyy-mm-dd hh:mm:ss". The format of the log timestamp is configurable.

  • "yyyy-mm-dd" stands for the date.

  • "hh:mm:ss" stands for the time, and "hh" (hour) is specified in the 24-hour format.

HOSTNAME

Host name or virtual system name

The default name is HUAWEI.

%%

Huawei identifier

Indicates that the log is output by a Huawei device.

dd

Version number

Indicates the version of the log format.

AAA

Module name

Indicates the name of the module by which logs are output.

B

Log level

Indicates the severity of a log.

CCC

Description

Indicates the further description of a log.

(l)

Information type

Indicates the type of the log information.
  • (l): Log
  • (t): Trap
  • (d): Debug
  • (s): Security log
  • (m): Maintenance log

CID=ZZZ

System component ID.

Indicates the system component ID to which a log belongs.

EEEE

Information about details

Indicates the detail 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >