When to trace

You have to decide when you want tracing on and, once it is on, what entries to trace. Tracing is on when the application is creating some or all of its trace entries. Tracing is off when the application is not creating trace entries at any of its trace points. The decision to trace is based on the need to: The more trace entries you create, the greater the impact to performance.

Component trace supports minops for tracing at a minimum, application-defined default level that cannot be turned off. Some applications choose this option to ensure that some trace data is always available to enable first failure data capture.

Another consideration is whether you can recreate a problem if one arises. If you can recreate the problem, you might only turn tracing on after the problem occurs, and then restart the application. If you have to capture data about a problem before it occurs (frequently referred to as first failure data capture) you might choose to trace all the time, or at least at a minimum level. In summary, here are the options you should consider when deciding when to trace: