beautypg.com

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

Page 188: Module

background image

12-6

z

If the output destination is the log host, the system information is in the following format

according to RFC 3164 (The BSD Syslog Protocol):

timestamp sysname %%nnmodule/level/digest: source content

z

The closing set of angel brackets < >, the space, the forward slash /, and the colon are all

required in the above format.

z

The format in the previous part is the original format of system information, so you may see

the information in a different format. The displayed format depends on the tools you use to

view the logs.

What follows is a detailed explanation of the fields involved:

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 12-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 Device Management Commands in the Fundamentals

Command Reference 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.