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:
The Configuration pane appears.
- From the Create new list, select Logger.
- 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.
- Expand the logger in the side pane, and then click File or Syslog.
- Click Create, enter information as described in the Help text in the main pane, and click Apply.
To configure component logging for SAE:
The Configuration pane appears.
The name of the logger appears in the side pane and the Logger pane.
- Expand the logger in the side pane, and then click File or Syslog.
- Click Create, enter information as described in the Help text in the main pane, and click Apply.
To configure component logging for NIC:
- In the side pane, expand a configuration scenario, such as Scenario:OnePopSharedlp,
- In the side pane, expand a host, such as Demohost.
The name of the logger appears in the side pane and the Logger pane.
- Expand the logger in the side pane, and then click File or Syslog.
- Click Create, enter information as described in the Help text in the main pane, and click Apply.
To configure component logging for SNMP:
The name of the logger appears in the side pane and the Logger pane.
- Expand the logger in the side pane, and then click File or Syslog.
- Click Create, enter information as described in the Help text in the main pane, and click Apply.
To configure component logging for JPS:
- Click Configure, expand Slot, and then expand the slot for which you want to configure component logging.
- Click JPS.
The name of the logger appears in the side pane and the Logger pane.
- Expand the logger in the side pane, and then click File or Syslog.
- Click Create, enter information as described in the Help text in the main pane, and click Apply..
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.