Fortinet black logo

New Features

Generate system event log when daemon crashes 7.2.2

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