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 Logging Destinations to Store Messages in a File (SRC CLI)

    Use the following configuration statements to configure file logging for the SRC 3GPP gateway:

    slot number gw-3gpp logger name ...
    slot number gw-3gpp 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 statement that configures the name and type of logging destination. In this sample procedure, the logging destination called log1 is configured.
      user@host# edit slot 0 gw-3gpp logger log1 file
    2. Specify the properties for the logging destination.
      [edit slot 0 gw-3gpp logger log1 file] user@host# set ?

      For more information about configuring properties for the logging destination, see Configuring an SRC Component to Store Log Messages in a File (SRC CLI).

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

    Published: 2014-06-12