beautypg.com

Log setting syslog, Syntax, History – Fortinet FortiMail 3.0 MR4 User Manual

Page 221: Set log setting syslog

background image

set

log setting syslog

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814

221

log setting syslog

Use this command to configure logging to the Syslog server.

Syntax

To configure logging to the Syslog server

set log setting syslog status {enable | disable}

set log setting syslog server

set log setting syslog port

set log setting syslog number

set log setting syslog csv {enable | disable}

set log setting syslog loglevel

set log setting syslog facility {alert | audit | auth | authpriv | clock

| cron | daemon | ftp | kern | lpr | mail | news | netp | local10 |

local 1 | local2 | local3| local4 | local5 | local6 | local7}

History

Keywords/Variables

Description

Default

status

{enable | disable}

Enable or disable logging to the remote syslog server.

disable

server

Sets the remote host, syslog server, IP address.

No default

port

Sets the port number for logging to the Syslog server.

514

number

Sets what syslog server receives logs sent from the
FortiMail unit. When you use number, you need to
include the server IP address when entering a number.
For example, set log setting syslog number 2
server 172.20.16.155

.

No default

csv {enable | disable}

Enable or disable formatting for CSV format.

disable

loglevel

Sets the log severity level for the logging device. Use the
? to list the following log levels:
0=Emergency
1=Alert
2=Critical
3=Error
4=Warning
5=Notification
6=Information
Logs will include items of the level you set and higher.
Set level to 6 if you want to include all log severity levels.

Emergency

facility {alert | audit

| auth | authpriv |

clock | cron | daemon |

ftp | kern | lpr | mail |

news } netp | local10 |

local 1 | local2 |

local3| local4 | local5

| local6 | local7}

Sets the facility identifier used for all log entries sent to
the syslog server by the FortiMail unit. Facility can help
identify the source of log entries on the syslog server.

kern

FortiMail v2.8

New.

FortiMail 3.0MR1

Added number keyword.