FortiPortal
FortiPortal provides a comprehensive set of security management and analytics within a multi-tenant, multi-tier management framework.
smkml
Staff
Staff
Article Id 389844
Description

 

This article describes how to use Print debug logs from the CLI.

 

Scope

 

FortiPortal v7.2.6 and v7.4.1 and above.

 

Solution

 

The below command is introduced to print out the debug logs on later versions using CLI, where the timestamp is also included. 

 

execute log-debug-print

 

Sample result in v7.4.1:

 

debug output in cli.png

 

This command performs the same action as exporting system logs through the GUI System -> Settings -> General -> System Logs and can be used to collect debugs when GUI access is unavailable.

 

fpc.jpg