Fortinet black logo

CLI Reference

log list

log list

You can view the list of current and rolled log files for this VDOM on the console. The list shows the file name, size and timestamp.

Syntax

execute log list  List current and rolled log files info.
        {category}   Category name, press enter for options.

To see a list of available categories, enter

execute log list

Example

The output looks like this:

elog 8704 Fri March 6 14:24:35 2009

elog.1 1536 Thu March 5 18:02:51 2009

elog.2 35840 Wed March 4 22:22:47 2009

At the end of the list, the total number of files in the category is displayed. For example:

501 event log file(s) found.

log list

You can view the list of current and rolled log files for this VDOM on the console. The list shows the file name, size and timestamp.

Syntax

execute log list  List current and rolled log files info.
        {category}   Category name, press enter for options.

To see a list of available categories, enter

execute log list

Example

The output looks like this:

elog 8704 Fri March 6 14:24:35 2009

elog.1 1536 Thu March 5 18:02:51 2009

elog.2 35840 Wed March 4 22:22:47 2009

At the end of the list, the total number of files in the category is displayed. For example:

501 event log file(s) found.