Setting up the API trace tool

 

To write the API trace tool to a file, complete these steps on the System i™ platform on which network authentication service is configured. To set up the API trace tool...

  1. Create an envar file in the home directory of the user to trace. For example, you can specify /home/user_profile_name/envar.

  2. In the character-based interface, use edtf /home/user_profile_name/envar to edit the file.

  3. Add the following lines to the envar file, being careful that they start in column 1.
    _EUV_SVC_MSG_LOGGING=STDOUT_LOGGING _EUV_SVC_MSG_LEVEL=VERBOSE _EUV_SVC_STDOUT_FILENAME=/home/user_profile_name/trace.txt _EUV_SVC_DBG_MSG_LOGGING=1 _EUV_SVC_DBG_TRACE=1 _EUV_SVC_DBG=*.9

  4. Retry the failing command.

  5. View the trace referenced by _EUV_SVC_STDOUT_FILENAME.
After you complete tracing the failing command, remove or rename the envar file, or else every Kerberos command that users enter will get traced.

 

Parent topic:

API trace tool