Configuring Logging Destinations for External Subscriber Monitor
Use the following configuration statements to configure directory logging destinations for External Subscriber Monitor:
- slot number external-subscriber-monitor
logger logger-name...
- slot number external-subscriber-monitor
logger logger-name file {
- filter filter;
- filename filename;
- rollover-filename rollover-filename;
- maximum-file-size maximum-file-size;
- }
- slot number external-subscriber-monitor
logger logger-name syslog {
- filter filter;
- host host;
- facility facility;
- format format;
- }
Configuring Logging Destinations to Store Messages in a File
To configure logging destinations to store log messages in a file:
- From configuration mode, access the configuration statement
that configures the name and type of logging properties. In this sample
procedure, the logging destination called file-1 is configured.
- user@host# edit slot 0 external-subscriber-monitor logger file-1 file
- Specify the properties for the logging destination.
- [edit slot 0 external-subscriber-monitor logger file-1 file]
- user@host# set ?
For more information about configuring properties for the logging destination, see Configuring a Component to Store Log Messages in a File (SRC CLI).
- (Optional) Verify your configuration.
- [edit slot 0 external-subscriber-monitor logger file-1 file]
- user@host# show
Configuring Logging Destinations to Send Messages to System Logging Facility
To configure logging destinations to send log messages to the system logging facility:
- From configuration mode, access the configuration statement
that configures the name and type of logging properties. In this sample
procedure, the logging destination is called syslog-1.
- user@host# edit slot 0 external-subscriber-monitor logger syslog-1 syslog
- Specify the properties for the logging destination.
- [edit slot 0 external-subscriber-monitor logger syslog-1 syslog]
- user@host# set ?
For more information about configuring properties for the logging destination, see Configuring System Logging (SRC CLI).
- (Optional) Verify your configuration.
- [edit slot 0 external-subscriber-monitor logger file-1 file]
- user@host# show
