Log policy, Syntax, Example – Fortinet FortiMail 3.0 MR4 User Manual

Page 70: History, Related topics

Advertising
background image

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

70

06-30004-0420-20080814

log policy

get

log policy

Use this command to display information about log policies by destination and log type.

Syntax

To view which types of logging are enabled for each destination:

get log policy

To view detailed information about which types of logging are enabled for a destination:

get log policy [destination {syslog [number

<integer>] | local | console}]

To view detailed information about a particular type of logging enabled for a destination:

get log policy [destination {syslog number <integer> | local | console}

{event | history | spam | virus}]

Example

FortiMail-400 # get log policy destination syslog number 1 event

syslog 1 event:

status: enable

configuration: ON

ha: OFF

login: ON

pop3: ON

smtp: ON

system: ON

updatefailed: ON

updatesucceeded: OFF

webmail: ON

History

Related topics

set log policy destination event

set log policy destination spam

set log policy destination virus

set log setting local

set

set log setting syslog

FortiMail v3.0

New.

Advertising