Debugging and Logging
©2008 Allied Telesis Inc. All rights reserved.
9.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
Buffered log
The buffered log is a file stored in RAM on the device. Because it is stored in RAM its content
does not survive a reboot of the device. A device can only have one instance of the buffered
log. The buffered log is enabled by default and has a filter to include messages with a severity
level of ‘notifications’ and above. The buffered log can be disabled using the command:
no log buffered
Additional filters can be added and removed using the commands
log buffered {facility|level|msgtext|program}
no log buffered {facility|level|msgtext|program}
The following log buffered commands are available:
Permanent log
The permanent log is a file stored in NVS on the device. This output type is only available on
devices that have NVS. The contents on the permanent log is retained over a reboot. A device
can only have one instance of the permanent log. The permanent log is enabled by default and
has a filter to include messages with a severity level of ‘warning’ and above. The permanent log
can be disabled using the command:
no log permanent
Additional filters can be added and removed using the commands:
log permanent {facility|level|msgtext|program}
no log permanent {facility|level|msgtext|program}
The following permanent log commands are available:
show log
Displays the entire contents of the buffered log
show log tail
Displays the 10 most recent entries in the buffered log.
show log tail <10-250>
Displays a specified number of the most recent entries
in the buffered log.
show log config
Displays the configuration of all log outputs
log buffered size
Specify the amount of memory the buffered log may
use.
clear log
Remove the contents of the buffered log (and
permanent log if it exists)
clear log buffered
Remove the contents of the buffered log only
default log buffered
Restore the buffered log to its default configuration
show log permanent
Displays the entire contents of the
permanent log
show log permanent tail
Displays the 10 most recent entries in the
permanent log
show log permanent tail
<10-250>
Displays a specified number of the most
recent entries in the permanent log
show log config
Displays the configuration of all log outputs