286
Field
Description
Module
Specifies the name of the module that generated the log. You can enter the
info-center source ?
command in system view to view the module list.
Level
Identifies the level of the log. See
for more information about severity
levels.
Mnemonic
Describes the content of the log. It contains a string of up to 32 characters.
Source
(In standalone mode.) Optional field that identifies the source of the log. The
value contains a card slot number and the IP address of the log sender.
(In IRF mode.) Optional field that identifies the source of the log. The value
contains an IRF member device ID, a card slot number, and the IP address of
the log sender.
Content
Provides the content of the log.
Table 26 Timestamp precisions and configuration commands
Item
Destined to the log host
Destined to the console, monitor
terminal, log buffer, and log file
Precision
Seconds
Milliseconds
Command
used to set the
timestamp
format
info-center timestamp loghost
info-center timestamp
Table 27 Description of the timestamp parameters
Timestamp
parameters
Description
Example
boot
Time that has elapsed since system startup,
in the format of xxx.yyy. xxx represents the
higher 32 bits, and yyy represents the lower
32 bits, of milliseconds elapsed.
Logs that are sent to all destinations other
than a log host support this parameter.
%0.109391473 Sysname
FTPD/5/FTPD_LOGIN: User ftp
(192.168.1.23) has logged in successfully.
0.109391473 is a timestamp in the
boot
format.
date
Current date and time, in the format of mmm
dd hh:mm:ss yyy for logs that are output to a
log host, or MMM DD hh:mm:ss:xxx YYYY
for logs that are output to other destinations.
All logs support this parameter.
%May 30 05:36:29:579 2003 Sysname
FTPD/5/FTPD_LOGIN: User ftp
(192.168.1.23) has logged in successfully.
May 30 05:36:29:579 2003 is a timestamp
in the
date
format.
iso
Timestamp format stipulated in ISO 8601.
Only logs that are sent to a log host support
this parameter.
<189>2003-05-30T06:42:44
Sysname %%10FTPD/5/FTPD_LOGIN(l):
User ftp (192.168.1.23) has logged in
successfully.
2003-05-30T06:42:44 is a timestamp in
the
iso
format.
none
No timestamp is included.
All logs support this parameter.
% Sysname FTPD/5/FTPD_LOGIN: User
ftp (192.168.1.23) has logged in
successfully.
No timestamp is included.