C613-50163-01 Rev C
Command Reference for GS970M Series
322
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
L
OGGING
C
OMMANDS
LOG
PERMANENT
EXCLUDE
log permanent exclude
Overview
Use this command to prevent specified log messages from being sent to the
permanent log. You can exclude messages on the basis of:
•
the priority/severity of the message
•
the program that generated the message
•
the logging facility used
•
a sub-string within the message, or
•
a combination of some or all of these.
Use the
no
variant of this command to stop excluding the specified messages.
Syntax
log permanent exclude [level
<level>
] [program
<program-name>
]
[facility
<facility>
] [msgtext
<text-string>
]
no log permanent exclude [level
<level>
] [program
<program-name>
] [facility
<facility>
] [msgtext
<text-string>
]
Parameter
Description
level
Exclude messages of the specified severity level.
<
level
>
The severity level to exclude. The level can be specified as one of the following numbers or
level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
System is unusable
1|alerts
Action must be taken immediately
2|critical
Critical conditions
3|errors
Error conditions
4|warnings
Warning conditions
5|notices
Normal, but significant, conditions
6|informational
Informational messages
7|debugging
Debug-level messages
program
Exclude messages from a specified program.
<
program-
name
>
The name of a program. Either one of the following predefined program names (not
case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp
Resource Reservation Protocol (RSVP)
dot1x
IEEE 802.1X Port-Based Access Control
lacp
Link Aggregation Control Protocol (LACP)
stp
Spanning Tree Protocol (STP)
rstp
Rapid Spanning Tree Protocol (RSTP)
mstp
Multiple Spanning Tree Protocol (MSTP)