# JDIAG

Updated: 8/3/2020, 5:48:21 PM
Created: 8/3/2020, 5:48:21 PM
Last Updated By: Patrick Payne
Read Time: 1 minute(s)

Tags: diagnosis profile trace

# Description

This environment variable provides a variable amount of jBASE trace information depending on which options are specified. It's primary purpose is for use in profiling jBC code.

# Values

Colon separated name and value pairs; the options are:

  • profile={off|short|long|user|jcover|all}
  • filename={stdout|stderr|tmp|pathname,refresh_mins} %p can be used for process ID
  • memory={off|on|verify}
  • branch={off|on|verbose}
  • trace=env_name{,env_name,}

JDIAG=TRACE=LOGTO|LICENSING|INDEX|SLEEP

# Default

Not set

Examples of use may be as:

# UNIX

export JDIAG=profile=long:filename=PROFILENAME%p.out  
1

# Windows

set JDIAG=profile=long:filename=PROFILENAME%p.out
1
JQL_TRACE_DEBUG=1
set JDIAG=TRACE=INDEX
1
2

Back to Environment Variables