Enabling Console Logging and File Storage

S- K- and 7100-Series devices allow you to display logging messages to the console and save to a persistent file. In addition, S- K- and 7100-Series devices also provide the option of allowing you to display messages to the current console CLI session only.

Console logging allows you to view only as many messages as will fit on the screen. As new messages appear, old messages simply scroll off the console. While this is a temporary means of logging information, it allows you to track very specific activities quickly and easily. Console log messages can also be saved to a persistent file at two locations:

  • slotX/logs/current.log — Location of current system log messages (up to 256k), where X specifies the slot location of the device.
  • slotX/logs/old.log — Location of previous system log messages, where X specifies the slot location of the device. Current messages will be moved to the old.log when current.log file exceeds 256k.

Use the following commands to review and configure console logging and file storage.