beautypg.com

Log outputs – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 270

background image

Debugging and Logging

Software Reference for x310 Series Switches

9.4

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Log Outputs

The following types of logging output are available:

buffered

permanent

terminal

console

host

email

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
enabled or disabled using the commands:

Additional filters can be added and removed using the commands described in

log

buffered (filter) command on page 10.8

:

The following log buffered commands are available:

awplus#

configure terminal

awplus(config)#

log buffered

awplus(config)#

no log buffered

awplus(config)#

log buffered {facility|level|msgtext|program}

awplus(config)#

no log buffered {facility|level|msgtext|
program}

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