Chapter 1 What’s New for FortiOS 5.0 : Logging and reporting : Converting compact log format
  
Converting compact log format
To convert your compact logs to the new FortiOS 5 format, use the following CLI command:
execute log convert-oldlogs
 
This command is available only if you have upgraded from an earlier version of FortiOS and have old compact logs on your system.