Generate system event log when daemon crashes 7.2.2
You can now enable, via CLI, the functionality to generate a system event log when a daemon crashes.
These event logs are generated with level=warning and the entire backtrace is included in the msg field.
To generate a system event log when a daemon crashes, you must enable log-daemon-crash
in the FortiAnalyzer CLI.
To generate a system event log when a daemon crashes:
- Enter the following command in the FortiAnalyzer CLI:
config system locallog setting
set log-daemon-crash enable
end
By default, |
To view the system event logs for daemon crashes:
- In the FortiAnalyzer GUI, go to System Settings > Event Log.
You can also check crash logs by entering the following command in the FortiAnalyzer CLI: diagnose debug crashlog read |