Enabling Tracing on the Web Server or Application Server

This section discusses how to:

  • Enable tracing on the web server.

  • Enable PeopleCode tracing on the application server.

Enabling Tracing on the Web Server

To enable web server tracing of file attachment processes:

  1. Select PeopleTools, Web Profile, Web Profile Configuration, and open the current web profile.

  2. Select the Custom Properties page.

  3. Add a new row, and enter these values:

    Column Value

    Property Name

    IDDA

    Validation Type

    Number

    Property Value

    32 (File processing)

  4. Set the .level property of the logging.properties file to ALL.

  5. Restart the web server.

The log files are written to a directory that depends on the java.util.logging.FileHandler.pattern property of the logging.properties file.

More information on IDDA logging is available in the PeopleTools PeopleBooks.

See System and Server Administration: Enabling IDDA Logging.

Enabling PeopleCode Tracing on the Application Server

For tracing file attachment issues, set the PeopleCode trace level to 2048 (Statement Tracing, which shows each statement as it's executed). In addition, higher PeopleCode trace settings are recommended whenever CopyAttachments is run. You can enable PeopleCode tracing on the application server in several ways:

  • For all client sessions by setting TracePC in Configuration Manager.

  • For a specific client session through the Trace PeopleCode page (select PeopleTools, Utilities, Debug, Set PeopleCode Trace Options.

Because PeopleCode tracing can generate a lot of output, setting tracing for a specific client session only is recommended.

Application server log files can be found in the PS_CFG_HOME/appserv/domain/LOGS directory.

  • The application server log files have names in the form APPSRV_MMDD.LOG (in which MMDD represents the month and date).

  • The file transfer log file has a name in the form of FILETRANSFERpid.LOG.

  • The PeopleCode trace file has a name of the form, *.tracesql.

See System and Server Administration: Specifying Trace Settings.