Documentation Center

Perl API registry and environment variable settings

Install and upgrade programs set registry and environment variable values wherever the Perl API is installed (Contenta Explorer Client, App Server and Web Server).

Registry settings read by the Contenta Perl API

The following are the only registry settings read by the Contenta Perl API.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\XyEnterprise\Content@\Settings\Directories Logs
    • Debug logs go in this directory when debugging is turned on in the API. The default is Contenta_Home\logs.
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\XyEnterprise\Contenta API\PerlAPI\XYV_PERLAPI_DEBUG
    • Add this registry value to turn on debugging in the API. Values are 0 to 10, where 0 is off and 10 is maximum verbosity. The default is 0.

The unixuser.dat file for Linux

On Linux systems, the unixuser.dat file serves as the registry. Refer to the Contenta Administration Guide for information on how to read and update unixuser.dat. The following settings for the Contenta Perl API can be found in the unixuser.dat file:

  • |{Local Machine}|VALUE|STRING|/Software/XyEnterprise/Content@/Settings/Directories|LOGS|18|/Contenta530/logs
  • |{Local Machine}|VALUE|STRING|/Software/XyEnterprise/Contenta API/PerlAPI|XYV_PDM_PERLAPI_DEBUG

Environment variable settings for the Contenta Perl API

The following environment variable settings can be used instead of registry settings:

  • XYV_PDM_PERLAPI_DEBUG
    • This environment variable can be used instead of the registry key by the same name.