Configuring the Log of a PAPI Client

The following procedure shows you how to configure the log of your PAPI client.

To configure the log of your PAPI client.

  1. Create a properties file that contains the properties to configure your PAPI client log.

    Create this file in a location that is accessible to your PAPI Client.

    For a list of the properties you can include, see PAPI Client Log Properties .

  2. In PAPI client code add the necessary code to create a Properties object and load it using the properties file you created.
  3. Modify the code in your PAPI client so that it uses the ProcessService constructor that receives a properties file as an argument.
  4. Compile your PAPI client. For information about how to compile a PAPI client, see Compiling a Java PAPI Program .

The next time you run your PAPI client it logs using the properties you defined.