Turning On Debug in the Publish/View Adapter File

Debug can be turned ON in testPubPcAi.pl and testPubServerAi.pl

Procedure

  1. Open the file you want to debug in a text editor, either testPubPcAi.pl or testPubServerAi.pl
  2. Search for $level
  3. Set $level:
    $level = 1 for debug output to go to STDOUT

    $level = 2 for debug output to go to STDOUT and to a log file

    The log files generated by $level = 2 are:
    • testPubPcAi.PID.log
    • testPubServer.PID.log

      where PID is the Process ID of the executed script that created the log file—for example: testPubServer.3912.log

    And located here:
    • Windows: SDL Contenta_home\TEMP
    • UNIX: /tmp