Fortinet black logo

Administration Guide

Troubleshoot using trace files

Troubleshoot using trace files

To successfully capture each daemon's trace as separate log files, use FortiPAM debug trace files. You can then view each file and locate the source of an issue.

To use FortiPAM trace file debug feature, debug category and level must be set. See Troubleshooting.

Related CLI commands:

Command

Description

diagnose wad debug file {enable | disable}

Enable/disable dump trace to files.

diagnose wad debug file max_size <size>

Set the maximum size for trace files.

diagnose wad debug file overwrite {enable | disable}

Allow overwriting when the file reaches maximum size.

diagnose wad debug file clear

Clear all the trace files.

diagnose wad debug file list

Show all trace related file stats.

diagnose wad debug file show {trace_file_name
| all}

Show a specific or all trace file content.

diagnose wad debug file send tftp <addr> <save_zip_name.tar.gz>

Send trace files to TFTP server.

diagnose wad debug file send ftp <save_zip_name.tar.gz> <addr>:[port] [username] [password]

Send trace files to FTP server.

Troubleshoot using trace files

To successfully capture each daemon's trace as separate log files, use FortiPAM debug trace files. You can then view each file and locate the source of an issue.

To use FortiPAM trace file debug feature, debug category and level must be set. See Troubleshooting.

Related CLI commands:

Command

Description

diagnose wad debug file {enable | disable}

Enable/disable dump trace to files.

diagnose wad debug file max_size <size>

Set the maximum size for trace files.

diagnose wad debug file overwrite {enable | disable}

Allow overwriting when the file reaches maximum size.

diagnose wad debug file clear

Clear all the trace files.

diagnose wad debug file list

Show all trace related file stats.

diagnose wad debug file show {trace_file_name
| all}

Show a specific or all trace file content.

diagnose wad debug file send tftp <addr> <save_zip_name.tar.gz>

Send trace files to TFTP server.

diagnose wad debug file send ftp <save_zip_name.tar.gz> <addr>:[port] [username] [password]

Send trace files to FTP server.