Created on
04-29-2025
10:11 PM
Edited on
09-19-2025
02:23 AM
By
Jean-Philippe_P
This article describes how to use Print debug logs from the CLI.
FortiPortal v7.2.6 and v7.4.1 and above.
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:
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.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.