PAS Logs

Logging Settings

There are Global Logging Settings that control the RFC Endpoint Manager Service logging and the Event and Trace logging for each Program ID. The level of logging information is also controlled by the global Logging Settings.

Set Up Logging

Logging takes time and resources (particularly drive space). We do not recommend leaving logging on forever.
If you are logging, you should have a policy to check drivespace and delete old logs.

By default, PAS puts logs in the …\Paymetric Adapters for SAP folder. This is not the ideal location. Please click the logging settings and define a dedicated log folder.

This information is in the LoggingConfig.xml config file. It can be edited directly if the PAS GUI is not available.

You can control the logging level in both the Event Viewer logs and separate log files (listed below)

For RHEL, the log directory is /var/log/pas/

Each Program ID has checkboxes for what types of logs are kept.

Trace-XiSecure Trace-XiSecure Enables trace logging for the XiSecure service.
Trace-XiPay

Enables trace logging for the Paymetric Gateway (XiPay) service.

Logging levels are controlled by the global EnabledMsgTypes parameter in LoggingConfig.xml. You can disable the global logging at the program level by leaving this check box deselected.

Trace-Verbose RFC This is used for Authorization and Settlement. A new file for authorization and settlement is created for each XAS process. It contains verbose information with sap tables, formatted xml sent to web service. This should be enabled for debugging purpose.

PAS v2.10

PIDs are re-used.

Most older versions add to a pre-existing log, but PAS 2.8, 2.9, and 2.10 overwrite them meaning you should archive your logs as soon as a problem is observed, because if you wait too late, the logs get overwritten.

Configure Logging

The following procedure is applicable for both Windows and RHEL.
  1. Launch the GUI. (See Launching the PAS GUI for further details around using PAS for RHEL; for Windows use the Start ➔ Program menu.)

  2. To access the Logging Settings dialog box, click in the toolbar.

  3. To enable logging of the PAS Windows Service, select the RFC Daemon Trace checkbox. For Windows, this outputs to RfcWinService.*.log.txt file and contains information related to the RFC Endpoint Manager service. For RHEL the content writes to /var/log/messages.

  4. Set the RFC Daemon Trace Log Directory location.

  5. Setting the log directory through the UI does not affect the location of RFC trace files (those of the form rfc*.trc). To change where those trace files are written, set the RFC_TRACE_DIR environment variable under system environment variables. Note that this will affect trace files for all RFCs installed on the system.

  6. You can select the level of logging for Event and Trace logs. Your choices are as follows:

    • Errors – Log Errors Only

    • Warning – Log Errors and Warnings

    • Information – Log Everything

If all Logging Levels are disabled (or deselected in this dialog box), no logging occurs at the Program level even if Trace-XiPay or Trace-XiSecure is selected in the Program ID Configuration Details.
You can disable Trace logging at the Program level, by deselecting Trace-XiPay or Trace-XiSecure in the Program ID Configuration Details.