Fortinet black logo

Administration Guide

Example troubleshooting example

Example troubleshooting example

  1. In the CLI console, enter the following commands to set debug category and level:

    diagnose wad debug enable category secret

    diagnose wad debug enable level info

  2. Enter the following command to set the maximum size for trace files:

    diagnose wad debug file max-size 2

  3. Enter the following command to enable dump trace to files:

    diagnose wad debug file enable

    Trace file is displayed now.

  4. Enter the following command to disable dump trace to files:

    diagnose wad debug file disable

  5. Enter the following command to show all trace related file stats:

    diagnose wad debug file list

    size:0000000000, wad_worker-1.log

    size:0000000000, wad_cert-inspection-0.log

    size:0000000000, wad_debug-0.log

    size:0000000000, wad_algo-0.log

    size:0000000000, wad_user-info-0.log

    size:0000000000, wad_dispatcher-0.log

    size:0000000000, wad_secret-approval-0.log

    size:0000000000, wad_config-notify-0.log

    size:0000000000, wad_informer-0.log

    size:0000000000, wad_YouTube-filter-cache-service-0.log

    size:0000006869, wad_worker-0.log

    size:0000000000, wad_pwd-changer-0.log

    size:0000000000, wad_manager-0.log

  6. Enter the following command to clear all the trace files:

    diagnose wad debug clear

  7. Enter the following command to show a specific file content:

    diagnose wad debug file show wad_worker-0.log

    [I][p:1066][s:369910368][r:2588] wad_gui_secret_handler :4123 Successfully fetched database list for admin

    [I][p:1066][s:369910368][r:2588] wad_gui_secret_handler :4510 attach response body to response

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4060 METHOD OVERRIDE to GET, fetching list

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_folder_post_select :1669 Dev is NULL

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_folder_post_select :1715 filter gets all personal secret folders

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4088 Successfully fetched folder list for admin

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4510 attach response body to response

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_handler :4060 METHOD OVERRIDE to GET, fetching list

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_folder_post_select :1669 Dev is NULL

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_handler :4088 Successfully fetched folder list for admin

    .

    .

Example troubleshooting example

  1. In the CLI console, enter the following commands to set debug category and level:

    diagnose wad debug enable category secret

    diagnose wad debug enable level info

  2. Enter the following command to set the maximum size for trace files:

    diagnose wad debug file max-size 2

  3. Enter the following command to enable dump trace to files:

    diagnose wad debug file enable

    Trace file is displayed now.

  4. Enter the following command to disable dump trace to files:

    diagnose wad debug file disable

  5. Enter the following command to show all trace related file stats:

    diagnose wad debug file list

    size:0000000000, wad_worker-1.log

    size:0000000000, wad_cert-inspection-0.log

    size:0000000000, wad_debug-0.log

    size:0000000000, wad_algo-0.log

    size:0000000000, wad_user-info-0.log

    size:0000000000, wad_dispatcher-0.log

    size:0000000000, wad_secret-approval-0.log

    size:0000000000, wad_config-notify-0.log

    size:0000000000, wad_informer-0.log

    size:0000000000, wad_YouTube-filter-cache-service-0.log

    size:0000006869, wad_worker-0.log

    size:0000000000, wad_pwd-changer-0.log

    size:0000000000, wad_manager-0.log

  6. Enter the following command to clear all the trace files:

    diagnose wad debug clear

  7. Enter the following command to show a specific file content:

    diagnose wad debug file show wad_worker-0.log

    [I][p:1066][s:369910368][r:2588] wad_gui_secret_handler :4123 Successfully fetched database list for admin

    [I][p:1066][s:369910368][r:2588] wad_gui_secret_handler :4510 attach response body to response

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4060 METHOD OVERRIDE to GET, fetching list

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_folder_post_select :1669 Dev is NULL

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_folder_post_select :1715 filter gets all personal secret folders

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4088 Successfully fetched folder list for admin

    [I][p:1066][s:369910368][r:2590] wad_gui_secret_handler :4510 attach response body to response

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_handler :4060 METHOD OVERRIDE to GET, fetching list

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_folder_post_select :1669 Dev is NULL

    [I][p:1066][s:369910370][r:2592] wad_gui_secret_handler :4088 Successfully fetched folder list for admin

    .

    .