Logging Commands
©2008 Allied Telesis Inc. All rights reserved.
10.14
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
log console (filter)
Creates a filter to select messages to be sent to all consoles when the log console command is
given. Selection can be 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. By default the buffered log has a filter to select messages
whose severity level is "critical" or higher. This filter may be removed using the "no" form of this
command. This filter may be removed and replaced by filters that are more selective.
Syntax
log console
[level
<level>
]
[program
<program-name>
]
[facility
<facility>
]
[msgtext
<text-string>
]
no log console
[level
<level>
]
[program
<program-name>
]
[facility
<facility>
]
[msgtext
<text-string>
]
Parameter
Description
log Logging
control
console
Set console logging parameters
no
Deletes the specified filter, so that corresponding messages are no longer
sent to the console.
level
Filter messages by severity level.
<level>
The minimum severity of message to send. 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