Logging
By default, routers send logging messages to a logging process. This logging process controls the distribution of logging messages to the various destinations such as the logging buffer, terminal lines, or a SYSLOG server, depending on your configuration. When the logging process is on, the messages are displayed on the console after the process that generated them has finished. When the logging process is disabled, messages are sent only to the console. The messages are sent as they are generated, so error and debug output is interspersed with prompts or output from the command line. You can also set the severity level of the messages to control the type of messages displayed for the console and each other destination. It is also possible to time-stamp the messages to enhance real-time debugging and management. Logging is enabled by using the following command:
To limit the number of messages displayed, you can use the severity level logging commands described in
RouterA(config)# logging on