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


Configuring a Component to Store Log Messages in a File with the C-Web Interface

When you enable logging to a file, by default SRC components and applications write log files in the /opt/UMC/<component-directory>/var/log folder for a component, such as /opt/UMC/sae/var/log.

All log files with the file extension .log in a var/log directory are rotated daily. When a new log file is created, the previous day's file is compressed and saved.

If you plan to filter log messages, you should be familiar with severity levels and filters for logging before you configure system logging for a component. See Chapter 2, Configuring Logging for SRC Components.

To configure component logging for ACP:

  1. Click Configure, expand Shared, expand ACP, and then click Configuration.

The Configuration pane appears.

  1. From the Create new list, select Logger.
  2. In the dialog box, type a name for the new logger, and click OK.

The name of the logger appears in the side pane and the Logger pane.

  1. Expand the logger in the side pane, and then click File or Syslog.
  2. Click Create, enter information as described in the Help text in the main pane, and click Apply.

To configure component logging for SAE:

  1. Click Configure, expand Shared, expand ACP, and then click Configuration.

The Configuration pane appears.

  1. From the Create new list, select Logger.

The name of the logger appears in the side pane and the Logger pane.

  1. Expand the logger in the side pane, and then click File or Syslog.
  2. Click Create, enter information as described in the Help text in the main pane, and click Apply.

To configure component logging for NIC:

  1. Click Configure, expand Shared, and then click NIC.

The NIC pane appears.

  1. In the side pane, expand a configuration scenario, such as Scenario:OnePopSharedlp,
  2. In the side pane, expand a host, such as Demohost.

The Hosts pane appears.

  1. From the Create new list, select Logger.

The name of the logger appears in the side pane and the Logger pane.

  1. Expand the logger in the side pane, and then click File or Syslog.
  2. Click Create, enter information as described in the Help text in the main pane, and click Apply.

To configure component logging for SNMP:

  1. Click Configure, expand Snmp, and then click Agent.

The Agent pane appears.

  1. From the Create new list, select Logger.

The name of the logger appears in the side pane and the Logger pane.

  1. Expand the logger in the side pane, and then click File or Syslog.
  2. Click Create, enter information as described in the Help text in the main pane, and click Apply.

To configure component logging for JPS:

  1. Click Configure, expand Slot, and then expand the slot for which you want to configure component logging.
  2. Click JPS.

The JPS pane appears.

  1. From the Create new list, select Logger.

The name of the logger appears in the side pane and the Logger pane.

  1. Expand the logger in the side pane, and then click File or Syslog.
  2. Click Create, enter information as described in the Help text in the main pane, and click Apply..

    NOTE: On a C-series controller, log files are automatically rotated on a daily basis. Typically, you do not specify a maximum file size when log files are rotated. Consider whether specifying a rollover filename is needed for SRC software running on a C-series controller. If you do configure a rollover file when files are rotated, the software creates five compressed versions of partial log files, and one uncompressed log file.


  3. 
    

You can configure components to send log messages to the system log server (also called a syslog server) on the platform on which the SRC software is running.

If you plan to filter log messages, you should be familiar with severity levels and filters for logging before you configure system logging for a component. See Chapter 2, Configuring Logging for SRC Components.


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