Int_16 (priority), Timestamp, Sysname – H3C Technologies H3C S5120 Series Switches User Manual

Page 649: Module, Level (severity), Digest

Advertising
background image

1-6

Int_16 (priority)

The priority is calculated using the following formula: facility*8+severity, in which facility represents the

logging facility name and can be configured when you set the log host parameters. The facility ranges

from local0 to local7 (16 to 23 in decimal integers) and defaults to local7. The facility is mainly used to

mark different log sources on the log host, query and filter the logs of the corresponding log source.

Severity ranges from 0 to 7.

Table 1-1

details the value and meaning associated with each severity.

Note that the priority field takes effect only when the information has been sent to the log host.

timestamp

Timestamp records the time when system information is generated to allow users to check and identify

system events. You can use the info-center timestamp command to configure whether to include a

timestamp in the system information as well as the timestamp format if it is included. The time stamp of

the system information sent from the information center to the log host is with a precision of seconds,

whereas that of the system information sent from the information center to the other destinations is with

a precision of milliseconds.

sysname

Sysname is the system name of the current host. You can use the sysname command to modify the

system name. (Refer to Basic System Configuration Commands for details)

%%

This field is a preamble used to identify a vendor. It is displayed only when the output destination is log

host.

nn

This field is a version identifier of syslog. It is displayed only when the output destination is log host.

module

The module field represents the name of the module that generates system information. You can enter

the info-center source ? command in system view to view the module list.

level (severity)

System information can be divided into eight levels based on its severity, from 0 to 7. Refer to

Table 1-1

for definition and description of these severity levels. The levels of system information generated by

modules are predefined by developers, and you cannot change the system information levels. However,

you can configure to output information of the specified level using the info-center source command.

digest

The digest field is a string of up to 32 characters, outlining the system information.

For system information destined to the log host:

z

If the character string ends with (l), the information is log information

z

If the character string ends with (t), the information is trap information

z

If the character string ends with (d), the information is debugging information

For system information destined to other destinations:

z

If the timestamp starts with a %, the information is log information

z

If the timestamp starts with a #, the information is trap information

Advertising