Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

log memory global-setting

Use this command to configure log threshold warnings and the maximum memory buffer size, for logging to the FortiGate system memory.

The FortiGate system memory has a limited capacity and only displays the most recent log entries. Traffic logs are not stored in the memory buffer, due to the high volume of traffic information. After all available memory is used, by default, the FortiGate unit begins to overwrite the oldest messages. All memory log entries are deleted when the FortiGate unit restarts.

config log memory global-setting
    set max-size {integer}   Maximum amount of memory that can be used for memory logging in bytes. range[0-4294967295]
    set full-first-warning-threshold {integer}   Log full first warning threshold as a percent (1 - 98, default = 75). range[1-98]
    set full-second-warning-threshold {integer}   Log full second warning threshold as a percent (2 - 99, default = 90). range[2-99]
    set full-final-warning-threshold {integer}   Log full final warning threshold as a percent (3 - 100, default = 95). range[3-100]
end

log memory global-setting

Use this command to configure log threshold warnings and the maximum memory buffer size, for logging to the FortiGate system memory.

The FortiGate system memory has a limited capacity and only displays the most recent log entries. Traffic logs are not stored in the memory buffer, due to the high volume of traffic information. After all available memory is used, by default, the FortiGate unit begins to overwrite the oldest messages. All memory log entries are deleted when the FortiGate unit restarts.

config log memory global-setting
    set max-size {integer}   Maximum amount of memory that can be used for memory logging in bytes. range[0-4294967295]
    set full-first-warning-threshold {integer}   Log full first warning threshold as a percent (1 - 98, default = 75). range[1-98]
    set full-second-warning-threshold {integer}   Log full second warning threshold as a percent (2 - 99, default = 90). range[2-99]
    set full-final-warning-threshold {integer}   Log full final warning threshold as a percent (3 - 100, default = 95). range[3-100]
end