頁面目錄
說明:
本文說明如何設定開啟FortiGate的Memory log,FortiGate的型號以60系列為例,60F代表沒有搭載硬碟log存在memory、61F代表搭載硬碟log存在disk,預設沒有硬碟的型號memory log severity為warning需調整為information才能看到traffic log方便除錯。
log severity說明:
選項 | 描述 |
---|---|
emergency | Emergency level. |
alert | Alert level. |
critical | Critical level. |
error | Error level. |
warning | Warning level. |
notification | Notification level. |
information | Information level. |
debug | Debug level. |
FortiOS版本:
After 5.4
FortiGate設定:
1.From GUI
至Log & Report -> Log Settings 確認已啟用 Memory log
2.From CLI
通過 CLI 啟用memory log
# config log memory setting
set status enable
end
需通過 CLI 設置log severity
# config log memory filter
set severity information
end
參考連結:Fortinet KB