Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring JPS to Store Log Messages in a File (SRC CLI)

    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 log2 is configured.
      user@host# edit slot 0 jps logger log2 file
    2. Specify the properties for the logging destination.
      [edit slot 0 jps logger log2 file] user@host# set ?

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

    3. (Optional) Verify your configuration.
      [edit slot 0 jps logger log2] 
      user@host# show 
      file { 
        filter !NoAckRksEvent,/info-;
        filename var/log/jps_info.log;
        rollover-filename var/log/jps_info.alt;
        maximum-file-size 2000000;
      }

    Modified: 2016-12-29