![[z/OS]](../images/ngzos.gif)
Using tracing on optimized local adapters
WebSphere® Application Server for z/OS® provides support for setting optimized local adapter trace levels to assist in application, connection, or server diagnosis. You can set the trace level to three levels to capture detailed, coarse, or no trace data. These are designated as trace levels 2, 1, and 0.
Before you begin
Dynamic trace support in optimized local adapters provides
several ways to set or change existing trace levels without restarting
the server, including:
- Predefine server-wide tracing in properties files. This enables you to have a set of tracing defined when the server is started so that the optimized local adapter processing is immediately ready with tracing enabled. You can use the WebSphere Application Server for z/OS administrative console and system modify SETOLATRACEPROPS command to designate the properties file and make it active.
- Define the trace level. You can use the trace properties file to specify both server-wide default trace levels and individual trace levels for connections that are yet to be registered to the optimized local adapter. The trace level can be set to 0, 1 or 2 for each entry in the properties file.
- Use the z/OS operator modify SETOLATRACE command to set a specific trace level for existing registrations. The command can also set the trace level for a registration name, job name, or a specific Registration Entry control block (RGE) in server controlled storage.
- Use an asterisk (*) symbol as a wildcard character in both the trace properties file and the SETOLATRACE modify command to indicate a setting for multiple groups of connections. The wildcard feature can specify multiple registration names in the properties file or the system default, and can set multiple registration names and job names in the modify SETOLATRCE command.
- The developer of an application that uses optimized local adapters can also set tracing for the life of the program connection when registration is done by setting trace flags in the call to BBOA1REG.