Fortinet black logo

CLI Reference

diagnose debug module kernel

diagnose debug module kernel

Use this command to set the debug log level for kernel debugging. When enabled, kernel errors are printed to the screen.

Syntax

diagnose debug module kernel [<level>] <Enter>

<Enter>

If you do not specify a debug level and press Enter, the command displays the current debug level.

<level>

Valid range is 0 to 8, where 0 disables debug logs and 8 generates the most verbose logging.

Example

FortiADC-VM # diagnose debug module kernel ?

<Integer> debug level (0-8).

FortiADC-VM # diagnose debug module kernel 5

FortiADC-VM # diagnose debug module kernel

Kernel debug level is 5

diagnose debug module kernel

diagnose debug module kernel

Use this command to set the debug log level for kernel debugging. When enabled, kernel errors are printed to the screen.

Syntax

diagnose debug module kernel [<level>] <Enter>

<Enter>

If you do not specify a debug level and press Enter, the command displays the current debug level.

<level>

Valid range is 0 to 8, where 0 disables debug logs and 8 generates the most verbose logging.

Example

FortiADC-VM # diagnose debug module kernel ?

<Integer> debug level (0-8).

FortiADC-VM # diagnose debug module kernel 5

FortiADC-VM # diagnose debug module kernel

Kernel debug level is 5