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

Page 289

Advertising
background image

Logging Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

10.17

log email (filter)

This command creates a filter to select messages to be sent to an email address. 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.

The no variant of this command configures the device to no longer send log messages to
a specified email address. All configuration relating to this log target will be removed.

Syntax

log email <email-address> [level <level>] [program <program-name>]

[facility <facility>] [msgtext <text-string>]

no log email <email-address> [level <level>] [program <program-name>]

[facility <facility>] [msgtext <text-string>]

Parameter

Description

<email-
address>

The email address to send logging messages to

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

program

Filter messages by program. Include messages from a specified
program in the log.

Advertising