show log image <image-name>
Displays the contents of a log file or files on an image other than the currently active image.
When used with no option, this command displays the contents of the main system log. The system writes syslog messages to this default log.
- all
- Displays the contents of all master log files for the specified image.
- authorization
- Displays all authorization attempts for the specified image.
- directory
- Displays a listing of all user-defined log files for the specified image.
- file file-name
- Displays the contents of the specified user-defined log file for the specified image.
- tail
- Displays the last 10 lines of the system log for the specified image.
- lines
- The number of lines to be displayed. If not specified, 10 lines are displayed.
Operational mode
Use this command to display the contents of a log file or files on an image other than the currently active image.