terminal logging

Disables or re-enables terminal logging, which captures all the console prints generated on the system to a RAMFS file and copies the RAMFS file to the flash memory upon certain triggers.
Syntax
terminal logging
no terminal logging
Command Default

Terminal logging is enabled by default.

Modes

Global configuration mode

Usage Guidelines

The file size is limited to 10 MB after which the prints wrap over.

Console prints are stored in the ss_console.txt file. Terminal logging also logs dmesg output (Linux kernel log) in the kmsg.txt file and copies it to flash memory.

The terminal logging files are stored in the /fast_iron/logs folder.

The log files copied to the flash memory can be retrieved later using supportsave for offline debugging and analysis.

Logs from Telnet and SSH sessions are also logged to the file.

The no form of the command disables terminal logging.

Examples

The following example disables terminal logging.

device# configure terminal
device(config)# no terminal logging
Terminal Logging Feature is now disabled

The following example re-enables terminal logging.

device# configure terminal
device(config)# terminal logging
Terminal Logging Feature is now enabled
History
Release version Command history
08.0.70 This command was introduced.