Enable System Logging

About this task

The system names log files according to the following:

  • The system displays the file names in 8.3 (log.xxxxxxxx.sss) format.

  • The first 6 characters of the file name contain the last three bytes of the chassis base MAC address.

  • The next two characters in the file name specify the slot number of the CPU that generated the logs.

  • The last three characters in the file name are the sequence number of the log file.

The system generates multiple sequence numbers for the same chassis and same slot if the system reaches the maximum log file size.

The default value is enabled.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable system logging:

    boot config flags logging

  3. Save the changed configuration.