Using the binary trace facility
Intelligent Management provides a binary trace facility (BTF) that permits the gathering of trace information in a production environment with a minimal impact on performance. The BTF is useful for both customers and development teams because its efficiency facilitates leaving a basic level of trace on all the time; thus, it is frequently the case that the data necessary for troubleshooting a problem has been captured the first time it occurs.
About this task
- Use the trace data that is generated by default.
- Use the cell custom property to capture additional debug information and not impact your performance.
Avoid trouble: Do not modify the
trace-cfg.xml
file
syntax. Instead, use of the cell custom properties to control the
BTF. The trace-cfg.xml
contains the initial trace
enablement settings used by the trace facility. After being loaded, trace-cfg.xml
is
not loaded again by the JVM. Avoid trouble: If you restart the server all
btrace
files
will disappear and get regenerated from scratch.The
trace command has two main parameters:
- The "read" parameter:
- Reads the BTF file and displays it.
- The "info" parameter:
- Displays information about what types of information are going to be printed.