Logging Commands
©2008 Allied Telesis Inc. All rights reserved.
10.22
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
log host (filter)
Creates a filter to select messages to be sent to a remote syslog server. Selection can be based
on the priority/severity of the message, the program that generated the message, the logging
facility used, a substring within the message or a combination of some or all of these.
The
no log host
command configures the device to no longer send log messages to a
remote syslog server. The IP address of the syslog server must be specified. All configuration
relating too this log target will be removed.
Syntax
log host <
ip-address
>
[level
<level>
]
[program
<program-name>
]
[facility
<facility>
]
[msgtext
<text-string>
]
no log host <a.b.c.d>
[level <
ip-address
>]
[program
<program-name>
]
[facility
<facility>
]
[msgtext
<text-string>
]
Parameter
Description
log Logging
control
host
Send log messages to a remote syslog server
<
ip-address
>
The IP address of a remote syslog server
no
Deletes the specified filter, so that corresponding messages are no longer
sent to the specified email address.
level
Filter messages by severity level.
<level>
The minimum severity of messages 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