Client-side ARAPILOGGING
For Windows clients and applications that use the C API, such as the BMC Remedy Email Engine, and so on, you can enable the ARAPILOGGING environment variable to capture all client API calls along with detailed server responses. This log contains different information than the client-side logs that you configure in the user preferences.
ARAPILOGGING can help in troubleshooting situations where you need to determine what client action is generating an error or a delayed response. BMC Software technical support might request a copy of this log when working on an issue. ARAPILOGGING works for all windows clients, the ODBC driver, and API programs that use the arapinn.dll.
When this is enabled, the client logs each API call along with the server response to the file clientInstallDir\arapires.log. If bit 16 is not set, client calls are recorded separately in clientInstallDir\arapicmd.log.
A new log is created each time you restart the client. Previous logs are saved with a sequential number appended to the name, for example, arapires_1.log, arapires_2.log, and so on. (For more information, see the Maximum Backups definition at Setting-log-files-options.)
Setting the ARAPILOGGING environment variable
You can set the value of the ARAPILOGGING environment variable to control how the information is logged. This option uses a bit mask to control the log output. You can combine the values to get combined results in the log. The following table describes the effect of each bit mask value.
ARAPILOGGING bit mask values
To enable ARAPILOGGING using the Windows System Properties dialog box
- Open the Windows System Properties dialog box as appropriate for your operating system. For example, right-click My Computer, and then select Properties.
- Click the Advanced tab, and then click Environment Variables.
- In the System Variables area, click New, and then enter the following values:
- Variable name: ARAPILOGGING
- Variable value: value
- Click OK to save the variable and exit Windows System properties.
In the browser, perform the actions that you want to capture in the log.
When you have completed capturing information to the log, turn off ARAPILOGGING by repeating steps 1 through 4 and setting the value of ARAPILOGGING to 0.