Fortinet white logo
Fortinet white logo

CLI Reference

diagnose debug module

diagnose debug module

Use this command to set the debug level for module daemons.

Syntax

diagnose debug module {adfs | alertd | apisecd | authd | av | awsd | bfd | bgpd | cm_client | cmdb | cmdb_event | crlupdated | dnsproxy | fast_statis | fcnacd | flg_accessd | flg_indexd | flg_reportd | fnginx | forticldd | gdns | hasyncd | healthcheckd | httproxy | httproxy3 | infod | ips-engine | ips-monitor | kernel | kernelconfd | kubed | lb | lbdns | llb | miglogd | named | netd | ntpd | ocid | opsips | ospfd | quard | rtmd | sapd | scanner_integration | shell-access | snmpd | sshd | ssl-of-httproxy | synconf | udproxy | updated | wadd | waf | wafmonitor | wassd | wccpd | wvs} [<level>]<Enter>

adfs

Get/set the debug level for AD FS daemon.

alertd

Get/set the debug level for automation stitches.

apisecd

Get/set the debug level for apisecd.

authd

Get/set the debug level for authd.

av

Get/set the debug level for anti-virus daemon.

awsd

Get/set the debug level for awsd.

bfd

Get/set the debug level for bfd daemon.

bgpd

Get/set the debug level for bgpd daemon.

cm_client

Get/set the debug level for cm_client daemon.

cmdb

Get/set the debug level for CLI and CMDB.

cmdb_event

Get/set the debug level for cmdb event.

crlupdated

Get/set the debug level for crlupdated daemon.

dnsproxy

Get/set the debug level for dnsproxy daemon.

fast_statis

Get/set the debug level for fast_statis events.

fcnacd

Get/set the debug level for fcnacd

flg_accessd

Get/set the debug level for flg_accessd daemon.

flg_indexd

Get/set the debug level for flg_indexd daemon.

flg_reportd

Get/set the debug level for flg_reportd daemon.

fnginx

Get/set the debug level for fnginx daemon.

forticldd

Get/set the debug level for forticldd daemon.

gdns

Get/set the debug level for gdns daemon.

hasyncd

Get/set the debug level for hasyncd daemon.

healthcheckd

Get/set the debug level for healthcheckd daemon.

httproxy

Get/set the debug category for httproxy daemon.

httproxy3

Get/set the debug level for httproxy3 daemon.

infod

Get/set the debug level for infod events.

ips-engine

Get/set the debug level for ips engine daemon.

ips-monitor

Get/set the debug level for ips monitor daemon.

kernel

Get/set the debug level for kernel.

kernelconfd

Get/set the debug level for L4 kernelconf daemon.

kubed

Get/set the debug level for kubed.

lb

Get/set the debug level for lb daemon.

lbdns

Get/set the debug level for lbdns daemon.

llb

Get/set the debug level for llb daemon.

miglogd

Get/set the debug level for miglogd daemon.

named

Get/set the debug level for named daemon.

netd

Get/set the debug level for netd daemon.

ntpd

Get/set the debug level for ntpd daemon.

ocid

Get/set the debug level for ocid.

opsips

Get/set the debug level for opsips daemon.

ospfd

Get/set the debug level for ospfd daemon.

quard

Get/set the debug level for quarantine daemon.

rtmd

Get/set the debug level for rtmd daemon.

sapd

Get/set the debug level for sapd.

scanner_integration

Get/set the debug level for scanner integration daemon.

shell-access

Get/set the debug level for shell access daemon.

snmpd

Get/set the debug level for snmpd daemon.

sshd

Get/set the debug level for sshd daemon.

ssl-of-httproxy

Get/set the debug level for httproxy ssl module.

synconf

Get/set the debug level for sysconf daemon.

udproxy

Get/set the debug level for udproxy daemon.

updated

Get/set the debug level for updated daemon.

wadd

Get/set the debug level for Web Anti Defacement daemon.

waf

Get/set the debug level for waf module in httproxy daemon.

wafmonitor

Get/set the debug level for wafmonitor.

wassd

Get/set the debug level for wassd.

wccpd

Get/set the debug level for wccpd events.

wvs

Get/set the debug level for wvs daemon.

<Enter>

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

<level>

<level> is a mask. Valid levels are the following values added together: 1 - error message, 2 - main event, 4 - config event, 8 - file sync message, 16 - hb message, 31 - start all. For example, 3 means error messages and main events.

Example

FortiADC-VM # diagnose debug module lb ?

<level> set/get debug level for lb daemon

FortiADC-VM # diagnose debug module lb

lb debug level is 0

FortiADC-VM # diagnose debug module lb 3

FortiADC-VM # diagnose debug module lb

lb debug level is 3

caution icon

Httproxy is not only organized by level.

diagnose debug module httproxy {submodule}/{all/alert/warning/confi/verbose}/{show/set-filter/show-filter/unset-filter}

show: Shows httproxy debug status

set-filter: Set debug filter for httproxy

unset-filter: Unset debug filter for httproxy

show-filter: Show debug filter of httproxy

all: All

alert: Httproxy Alert Message

warning: Httproxy Warning Message

conf: Httproxy config debug info

verbose: Httproxy traffic verbose debug info

ssl_major: Httproxy sll major debug info

diagnose debug module

diagnose debug module

Use this command to set the debug level for module daemons.

Syntax

diagnose debug module {adfs | alertd | apisecd | authd | av | awsd | bfd | bgpd | cm_client | cmdb | cmdb_event | crlupdated | dnsproxy | fast_statis | fcnacd | flg_accessd | flg_indexd | flg_reportd | fnginx | forticldd | gdns | hasyncd | healthcheckd | httproxy | httproxy3 | infod | ips-engine | ips-monitor | kernel | kernelconfd | kubed | lb | lbdns | llb | miglogd | named | netd | ntpd | ocid | opsips | ospfd | quard | rtmd | sapd | scanner_integration | shell-access | snmpd | sshd | ssl-of-httproxy | synconf | udproxy | updated | wadd | waf | wafmonitor | wassd | wccpd | wvs} [<level>]<Enter>

adfs

Get/set the debug level for AD FS daemon.

alertd

Get/set the debug level for automation stitches.

apisecd

Get/set the debug level for apisecd.

authd

Get/set the debug level for authd.

av

Get/set the debug level for anti-virus daemon.

awsd

Get/set the debug level for awsd.

bfd

Get/set the debug level for bfd daemon.

bgpd

Get/set the debug level for bgpd daemon.

cm_client

Get/set the debug level for cm_client daemon.

cmdb

Get/set the debug level for CLI and CMDB.

cmdb_event

Get/set the debug level for cmdb event.

crlupdated

Get/set the debug level for crlupdated daemon.

dnsproxy

Get/set the debug level for dnsproxy daemon.

fast_statis

Get/set the debug level for fast_statis events.

fcnacd

Get/set the debug level for fcnacd

flg_accessd

Get/set the debug level for flg_accessd daemon.

flg_indexd

Get/set the debug level for flg_indexd daemon.

flg_reportd

Get/set the debug level for flg_reportd daemon.

fnginx

Get/set the debug level for fnginx daemon.

forticldd

Get/set the debug level for forticldd daemon.

gdns

Get/set the debug level for gdns daemon.

hasyncd

Get/set the debug level for hasyncd daemon.

healthcheckd

Get/set the debug level for healthcheckd daemon.

httproxy

Get/set the debug category for httproxy daemon.

httproxy3

Get/set the debug level for httproxy3 daemon.

infod

Get/set the debug level for infod events.

ips-engine

Get/set the debug level for ips engine daemon.

ips-monitor

Get/set the debug level for ips monitor daemon.

kernel

Get/set the debug level for kernel.

kernelconfd

Get/set the debug level for L4 kernelconf daemon.

kubed

Get/set the debug level for kubed.

lb

Get/set the debug level for lb daemon.

lbdns

Get/set the debug level for lbdns daemon.

llb

Get/set the debug level for llb daemon.

miglogd

Get/set the debug level for miglogd daemon.

named

Get/set the debug level for named daemon.

netd

Get/set the debug level for netd daemon.

ntpd

Get/set the debug level for ntpd daemon.

ocid

Get/set the debug level for ocid.

opsips

Get/set the debug level for opsips daemon.

ospfd

Get/set the debug level for ospfd daemon.

quard

Get/set the debug level for quarantine daemon.

rtmd

Get/set the debug level for rtmd daemon.

sapd

Get/set the debug level for sapd.

scanner_integration

Get/set the debug level for scanner integration daemon.

shell-access

Get/set the debug level for shell access daemon.

snmpd

Get/set the debug level for snmpd daemon.

sshd

Get/set the debug level for sshd daemon.

ssl-of-httproxy

Get/set the debug level for httproxy ssl module.

synconf

Get/set the debug level for sysconf daemon.

udproxy

Get/set the debug level for udproxy daemon.

updated

Get/set the debug level for updated daemon.

wadd

Get/set the debug level for Web Anti Defacement daemon.

waf

Get/set the debug level for waf module in httproxy daemon.

wafmonitor

Get/set the debug level for wafmonitor.

wassd

Get/set the debug level for wassd.

wccpd

Get/set the debug level for wccpd events.

wvs

Get/set the debug level for wvs daemon.

<Enter>

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

<level>

<level> is a mask. Valid levels are the following values added together: 1 - error message, 2 - main event, 4 - config event, 8 - file sync message, 16 - hb message, 31 - start all. For example, 3 means error messages and main events.

Example

FortiADC-VM # diagnose debug module lb ?

<level> set/get debug level for lb daemon

FortiADC-VM # diagnose debug module lb

lb debug level is 0

FortiADC-VM # diagnose debug module lb 3

FortiADC-VM # diagnose debug module lb

lb debug level is 3

caution icon

Httproxy is not only organized by level.

diagnose debug module httproxy {submodule}/{all/alert/warning/confi/verbose}/{show/set-filter/show-filter/unset-filter}

show: Shows httproxy debug status

set-filter: Set debug filter for httproxy

unset-filter: Unset debug filter for httproxy

show-filter: Show debug filter of httproxy

all: All

alert: Httproxy Alert Message

warning: Httproxy Warning Message

conf: Httproxy config debug info

verbose: Httproxy traffic verbose debug info

ssl_major: Httproxy sll major debug info