2 logging console, 3 logging host – Fortinet MR1 User Manual

Page 185

Advertising
background image

185

5.5.4.2 logging console

This command enables logging to the console.

Syntax

logging console [<severitylevel> | <0-7>]

no logging console

[<severitylevel> | <0-7>] - The value is specified as either an integer from 0 to 7 or symbolically through
one of the following keywords: emergency (0), alert (1), critical (2), error (3), warning (4), notice (5),
informational (6), debug (7).

no - This command disables logging to the console.

Default Setting

None

Command Mode

Privileged Exec

5.5.4.3 logging host

This command enables logging to a host where up to eight hosts can be configured.

Syntax

logging host <hostaddress> [ <port>] [[<severitylevel> | <0-7>]]

<hostaddress> - IP address of the log server.

<port> - Port number.

[<severitylevel> | <0-7>] - The value is specified as either an integer from 0 to 7 or symbolically
through one of the following keywords: emergency (0), alert (1), critical (2), error (3), warning (4), notice
(5), informational (6), debug (7).

Advertising