Fortinet black logo

New Features

Generate system event log when daemon crashes 7.2.2

Copy Link
Copy Doc ID 7d55ae6f-8e83-11ec-9fd1-fa163e15d75b:184473
Download PDF

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:
  1. Enter the following command in the FortiAnalyzer CLI:

    config system locallog setting

    set log-daemon-crash enable

    end

Note

By default, log-daemon-crash is set to disable. When disabled, a system event log is not generated when a daemon crashes.

To view the system event logs for daemon crashes:
  1. In the FortiAnalyzer GUI, go to System Settings > Event Log.
Tooltip

You can also check crash logs by entering the following command in the FortiAnalyzer CLI:

diagnose debug crashlog read

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:
  1. Enter the following command in the FortiAnalyzer CLI:

    config system locallog setting

    set log-daemon-crash enable

    end

Note

By default, log-daemon-crash is set to disable. When disabled, a system event log is not generated when a daemon crashes.

To view the system event logs for daemon crashes:
  1. In the FortiAnalyzer GUI, go to System Settings > Event Log.
Tooltip

You can also check crash logs by entering the following command in the FortiAnalyzer CLI:

diagnose debug crashlog read