Created on
02-19-2021
07:06 AM
Edited on
12-10-2024
06:31 AM
By
Jean-Philippe_P
Description
This article provides commands to increase or decrease the logging space size in memory.
Scope
FortiGate.
Solution
When FortiGate is enabled with memory logging, default specific amount of memory space will be allocated for memory logging.
It is possible to change this default memory space for logging.
config log memory global-setting
set max-size 21097717 <----- Default value in Bytes.
end
To change the value, use the below commands.
config log memory global-setting
set max-size ? <----- Type '?' to know the minimum and maximum value it is possible to set for logging.
aegon-kvm20 # con log memory global-setting
aegon-kvm20 (global-setting) # set max-size ?
min:10485760 max:105488588 <----- Values are in Bytes.
aegon-kvm20 (global-setting) # set max-size 10485760
aegon-kvm20 (global-setting) # end
The log reaches 95 % in the configured limit it shows a warning message and when it reaches 100 % it will override the existing logs.
Note: Memory logging is not suggested in Lower end firewall, for troubleshooting any specific issue or for monitoring the traffic logs locally, it is possible to enable the memory logging and disable it later.
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.