Setting Central Logging Parameters

Central logging is inactive by default on every application server. Before you can enable central logging, you must ensure that the logging parameters in the central system and in each instance are identical. The system parameters that control central logging all begin with the rslg prefix.

To set the rslg parameters, you can edit the profile on each application server, or you can edit the DEFAULT.PFL file on the central application server. The recommended method is to edit the DEFAULT.PFL.

Editing DEFAULT.PFL

To set the central logging parameters using the DEFAULT.PFL profile, do the following:

  1. Display the rslg parameter values on the central system.

    To do this, choose Environment ® Display SAPPARAM from the System Log initial screen.

  2. Check the values of the following parameters:

    rslg/collect_daemon/host

    rslg/collect_daemon/listen_port

    rslg/collect_daemon/talk_port

    rslg/send_daemon/listen_port

    rslg/send_daemon/talk_port

    These parameters must be set and identical on the central system and all the instances.

    See Central Logging Parameters below for information on allowed values for each parameter. Depending on your installation, many of the rslg parameters may already be set.

  3. Edit the DEFAULT.PFL and ensure that all the parameters are correct.
  4. Save your changes.

The system sets the rslg parameters on the central system and all the instances.

After you have ensured that the system profiles are set appropriately, you must start the send and collection processes. See Starting the System Log Processes for more detailed information.

Central Logging Parameters

The rslg parameters have the following definitions:

rslg/collect_daemon/host

Specifies the node name where the central log will be located.

rslg/collect_daemon/listen_port

Specifies the listen port for the collection process. By default, this parameter is set to:

14< SAPSYSTEM number>

You must ensure that the listen port is identical for all instances in your SAP system.

rslg/collect_daemon/ talk_port

Specifies the talk port for the collection process. By default, this parameter is set to:

15< SAPSYSTEM number>

You must ensure that the talk port is identical for all instances in your SAP system.

rslg/send_daemon/listen_port

Specifies the listen port for the send process. By default, this parameter is set to:

12< SAPSYSTEM number>

You must ensure that the listen port is identical for all instances in your SAP system.

rslg/send_daemon/talk_port

Specifies the talk port for the send process. By default, this parameter is set to:

13<SAPSYSTEM number>

You must ensure that the talk port is identical for all instances in your SAP system.

rslg/send_daemon_autostart

Leave the value of this parameter set to 0.

The send process also uses the following system profile parameters. Do not change the default values of these parameters:

rslg/collect_daemon/exe_file

Specifies the executable file for the central collection process.

rslg/send_daemon/exe_file

Specifies the executable file for the send process.

rslg/send_daemon/pid_file

Identifies the file that the send process initializes when it is started.

rslg/send_daemon/status_file

Identifies the internal status file maintained by the send process.