для Cisco Cisco Packet Data Interworking Function (PDIF)
System Logs
Configuring Active Logs ▀
ASR 5500 System Administration Guide, StarOS Release 16 ▄
147
Configuring Active Logs
Active logs are event logs that are operator configurable on a CLI instance-by-CLI instance basis. Active logs
configured by an administrative user in one CLI instance are not displayed to an administrative user in a different CLI
instance. Each active log can be configured with filter and display properties that are independent of those configured
globally for the system. Active logs are displayed in real time as they are generated.
configured by an administrative user in one CLI instance are not displayed to an administrative user in a different CLI
instance. Each active log can be configured with filter and display properties that are independent of those configured
globally for the system. Active logs are displayed in real time as they are generated.
Active logs are not written to the active memory buffer by default. To write active logs to the active memory buffer
execute the following command in the Global Configuration mode:
execute the following command in the Global Configuration mode:
[local]<hostname>(config)# logging runtime buffer store all-events
When active logs are written to the active memory buffer, they are available to all users in all CLI instances.
Use the following example to configure active logging in Global Configuration mode:
[local]<hostname>(config)# logging filter runtime facility facility level
report_level
report_level
Notes:
Configure the logging filter that determines which system facilities should be logged and at what levels. Refer to
Repeat for every facility that you would like to log.
Optional: Configure event ID restrictions by adding the logging disable eventid command. The system provides
the ability to restrict the sending of a specific event ID or a range of event IDs to minimize the amount of data
logged to that which is most useful. Repeat to disable logging for additional event IDs or event ID ranges.
logged to that which is most useful. Repeat to disable logging for additional event IDs or event ID ranges.
A number of keyword options/variables are available for the Exec mode logging active command. Refer to the
Exec Mode Commands chapter in the Command Line Interface Reference for more information.
Once all of the necessary information has been gathered, the Active log display can be stopped by entering the
following command in the Exec mode:
following command in the Exec mode:
no logging active