1-4
Severity Severity value Description
errors 4 Error information
warnings 5 Warnings
notifications 6
Normal information that needs
to be noticed
informational 7
Informational information to be
recorded
debugging 8
Information generated during
debugging
size buffersize: Specifies the size of the log buffer (number of messages the log buffer holds) you want
to display. The buffersize argument ranges from 1 to 1,024 and defaults to 512.
|: Filters output log information with a regular expression.
begin: Displays the line that matches the regular expression and all the subsequent lines.
exclude: Displays the log information excluding the specified characters.
include: Displays the log information including the specified characters.
regular-expression: Regular expression.
Description
Use the display logbuffer command to display the status of the log buffer and the records in the log
buffer.
Examples
# Display the status of the log buffer and the records in the log buffer.
<Sysname> display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 91
%Jun 19 18:03:24:55 2006 Sysname IC/7/SYS_RESTART:
System restarted --
The rest is omitted here.
Table 1-3 display logbuffer command output description
Field Description
Logging buffer configuration and contents
Indicates the current state of the log buffer and
its contents, which could be enabled or disabled.
Allowed max buffer size The maximum buffer size allowed
Actual buffer size The actual buffer size