About this task
The binary trace facility (BTF) is rule-based, and deeper
tracing can be enabled based on conditions detected at runtime. The
BTF can:
- 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.
gotcha
Avoid trouble: If you restart the server all
btrace files
will disappear and get regenerated from scratch.
gotcha
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.
For more information, read about binary trace facility
custom properties.