show syslog

Display the contents of a system log file.

Syntax

show syslog [<dir>] <file>

Syntax Description

dir

(Optional) The subdirectory containing the log file.

file

The name of the log file.

Defaults

Usage Guidelines

This command lists the available system log files or displays the contents of a specific log file. The list of available log files varies depending on the system type and the applications installed. A list of the available log files is available by typing show syslog ?.

Some log files are kept in a subdirectory of the main log directory. This is generally true for logs for which multiple generations are kept. The contents of these subdirectories can be displayed using show syslog <dir> ?, and the individual log files displayed using show syslog <dir> <file>.

Examples

show syslog update.log
show syslog slog 20240625-135825

Last updated