Using the command line interface (CLI) : diagnose : diagnose log show|tail|remove
 
diagnose log show|tail|remove
Allows you to show or remove debug logs.
Syntax
diagnose log show|tail|remove fortidb-log|tomcat-log|localhost-log
where:
Keywords
Description
show
Show the specified log.
tail
Print the tail of specified log, and continue to output appended data as the file grows.
remove
Remove the specified log.
fortidb-log
Log of FortiDB Application Server.
tomcat-log
Initialization Log from Tomcat.
localhost-log
Localhost log from Tomcat.
Example
diagnose log tail fortidb-log
See also
diagnose system export fd_log