Created on
03-15-2020
02:03 AM
Edited on
04-16-2025
02:47 AM
By
Jean-Philippe_P
Description
This article describes how to change the debug duration, which is 30 minutes by default.
Scope
FortiGate.
Solution
diagnose debug duration
The current duration is 30 minutes, the timer has not started yet.
diagnose debug duration ?
<Integer> <----- Duration in minutes, min = 1, max = 99999, 0 means unlimited.
diagnose debug duration 180
The current duration is set to 180 minutes.
diagnose debug duration
The current duration is 180 minutes, 0 minutes, and 21 seconds have passed.
diagnose debug duration 0
The current duration is set to unlimited.
diagnose debug duration
The current duration is unlimited.
To disable the debug at any moment.
diagnose debug disable
Note:
After a reboot, the debug duration will be reset to the default value (30 minutes) or by executing the command diagnose debug reset.
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 2025 Fortinet, Inc. All Rights Reserved.