Manage and display the flash log

The flash log is a persistent log, that is, is a log that is stored in persistent storage. Persistent storage survives across platform reboots. The first log type is the system startup log. The system startup log stores the first 32 messages received after system reboot. The second log type is the system operation log. The system operation log stores messages received during system operation.

To manage and display the flash log:

  1. Open a web browser and log in to the device UI using your login details and device admin password.

    The Dashboard page displays.

  2. Select Monitoring > Logs > Flash Log.
    The Flash Log page displays.

    The following steps refer to the FLASH Log Configuration section.

  3. Click the FLASH Logging toggle to enable or disable flash logging:
    • The toggle is gray and positioned to the left: Flash logging is disabled, which prevents the switch from logging messages to flash memory. This is the default setting.
    • The toggle is purple and positioned to the right: Flash logging is enabled, which enables the switch to log messages to flash memory.
  4. From the Severity Filter menu, select the logging level for messages that must be logged.

    Log messages with the selected severity level and all log messages of greater severity are logged. For example, if you select Warning, the logged messages include Warning, Error, Critical, Alert, and Emergency. The default severity level is Alert (1).

    The severity can be one of the following levels:

    • Emergency: Level 0, the highest warning level. If the device is down or not functioning properly, an emergency log is saved to the device. This is the default setting.
    • Alert: Level 1, the second-highest warning level. An alert log is saved if a serious device malfunction occurs, such as all device features being down.
    • Critical: Level 2, the third-highest warning level. A critical log is saved if a critical device malfunction occurs, for example, two device ports are not functioning, while the rest of the device ports remain functional.
    • Error: Level 3, a device error occurred, such as a port being offline.
    • Warning: Level 4, the lowest level of a device warning.
    • Notice: Level 5, provides the network administrators with device information.
    • Informational: Level 6, provides device information.
    • Debug: Level 7, provides detailed information about the log.
    Note: A log records messages equal to or above a configured severity threshold.
  5. Click the Apply button.
    Your settings are saved.The Total Number of Messages field shows the total number of persistent log messages that are stored on the switch. The maximum number of persistent log messages displayed on the switch is 64.

    The following example shows the standard format for a persistent log message:

    Jan 12 2024 00:00:18: AAA-5-CONNECT: New http connection for user admin, source 192.168.1.111 ACCEPTED

    The message was generated as severity 189 (Notice, level 5) on January 12, 2024 at 00:00:18 a.m. by component AAA. The message indicates that the administrator successfully logged in to the HTTP management interface from a host with IP address 192.168.1.111.

    The severity number in the message is generated by a combination of the facility and the severity. In the previous example, the default facility of 23 is multiplied by 8 and the severity (5) is added: (23 * 8) + 5 = 189

  6. To refresh the page, click the Refresh button.