Chapter 10 Install and System Administration for FortiOS 5.0 : Monitoring : Logging
  
Logging
FortiOS provides a robust logging environment that enables you to monitor, store, and report traffic information and FortiGate events, including attempted log ins and hardware status. Depending on your requirements, you can log to a number of different hosts.
To configure logging in the web-based manager, go to Log & Report > Log Config > Log Settings.
To configure logging in the CLI use the commands config log <log_location>.
For details on configuring logging see the Logging and Reporting Guide.
If you will be using several FortiGate units, you can also use a FortiAnalyzer unit for logging. For more information, see the FortiAnalyzer Administration Guide.