[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Logging Destinations to Store Messages in a File

Use the following configuration statements to configure file logging for IMS:

slot number ims logger name ...
slot number ims logger name file {
filter filter;
filename filename;
rollover-filename rollover-filename;
maximum-file-size maximum-file-size;
}

To configure logging destinations to store log messages in a file:

  1. From configuration mode, access the configuration statement that configures the name and type of logging destination. In this sample procedure, the logging destination called log1 is configured.
  2. Specify the properties for the logging destination.

    For more information about configuring properties for the logging destination, see Overview of Logging for SRC Components.

  3. (Optional) Verify your configuration.
    [edit slot 0 ims logger log1 file] 
    user@host# show 
    filter /info-;
    filename var/log/ims-a-racf-rq-info.log;
    rollover-filename var/log/ims-a-racf-rq-info.alt;
    maximum-file-size 2000000000; 
    
    

[Contents] [Prev] [Next] [Index] [Report an Error]