Fortinet black logo

CLI Reference

debug application http

debug application http

Use this command to set the verbosity level of debug logs for the HTTP protocol parser. This parser module dissects the HTTP headers and content body for analysis by other modules such as rewriting, HTTP protocol constraints, server information disclosure, and attack signature matching.

If the debug logs indicate that the HTTP protocol parser may be encountering an error condition, you can temporarily disable it and allow packets to bypass it to verify if this is the case. For details, see noparse {enable | disable}.

Before you will be able to see any debug logs, you must first enable debug log output using the command debug.

To use this command, your administrator account’s access control profile requires only r permission in any profile area. For details, see Permissions.

Syntax

diagnose debug application http <http_int>

Variable Description Default

http <http_int>

Specify the verbosity level to output to the CLI display after the command executes.

The valid range is 0–7, where 0 disables debug logs for the HTTP protocol parser and 7 generates the most verbose logging.

If you omit the number, the CLI displays the current verbosity level. For example:

http debug level is 0

0

Related topics

debug application http

Use this command to set the verbosity level of debug logs for the HTTP protocol parser. This parser module dissects the HTTP headers and content body for analysis by other modules such as rewriting, HTTP protocol constraints, server information disclosure, and attack signature matching.

If the debug logs indicate that the HTTP protocol parser may be encountering an error condition, you can temporarily disable it and allow packets to bypass it to verify if this is the case. For details, see noparse {enable | disable}.

Before you will be able to see any debug logs, you must first enable debug log output using the command debug.

To use this command, your administrator account’s access control profile requires only r permission in any profile area. For details, see Permissions.

Syntax

diagnose debug application http <http_int>

Variable Description Default

http <http_int>

Specify the verbosity level to output to the CLI display after the command executes.

The valid range is 0–7, where 0 disables debug logs for the HTTP protocol parser and 7 generates the most verbose logging.

If you omit the number, the CLI displays the current verbosity level. For example:

http debug level is 0

0

Related topics