C613-50170-01 Rev B
Command Reference for x510 Series
411
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L
OGGING
C
OMMANDS
LOG
EXTERNAL
(
FILTER
)
log external (filter)
Overview
Use this command to create a filter to select messages to be sent to the external
log. You can include messages based on:
•
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.
The
no
variant of this command removes the corresponding filter, so that the
specified messages are no longer sent to the external log.
Syntax
log external [level
<level>
] [program
<program-name>
] [facility
<facility>
] [msgtext
<text-string>
]
no log external [level
<level>
] [program
<program-name>
]
[facility
<facility>
] [msgtext
<text-string>
]
Parameter
Description
level
Filter messages to the external log by severity level.
<
level
>
The minimum severity of message to send to the external log. 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
Filter messages to the external log by program. Include messages from a specified program in
the external log.
<
program-
name
>
The name of a program to log messages from, either one of the following predefined program
names (not case-sensitive), or another program name (case-sensitive) that you find in the log
output:
rip
Routing Information Protocol (RIP)
ripng
Routing Information Protocol - next generation (RIPng)
ospf
Open Shortest Path First (OSPF)