beautypg.com

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

Page 304

background image

Logging Commands

Software Reference for x310 Series Switches

10.32

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Default

By default the buffered log has a filter to select messages whose severity level is notices
(5)

or higher. This filter may be removed using the no variant of this command.

Mode

Global Configuration

Examples

To create a filter to send all messages generated by EPSR that have a severity of notices
or higher to the permanent log use the following commands:

To create a filter to send all messages containing the text “Bridging
initialization”

, to the permanent log use the following commands:

Validation

Commands

show log config

Related Commands

default log permanent
log permanent
log permanent size
show log permanent

facility

Filter messages to the permanent log by syslog facility.

<facility>

Specify one of the following syslog facilities to include messages from
in the log:

kern

Kernel messages

user

Random user-level messages

mail

Mail system

daemon

System daemons

auth

Security/authorization messages

syslog

Messages generated internally by syslogd

lpr

Line printer subsystem

news

Network news subsystem

uucp

UUCP subsystem

cron

Clock daemon

authpriv

Security/authorization messages (private)

ftp FTP

daemon

msgtext

Select messages containing a certain text string

<text-
string
>

A text string to match. This is case sensitive, and must be the last text
on the command line.

Parameter

Description

awplus#

configure terminal

awplus(config)#

log permanent level notices program epsr

awplus#

configure terminal

awplus(config)#

log permanent msgtext Bridging initialization