Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer Data access resources > Administer data access applications
Enable client information tracing with the administrative console
Use either of the methods outlined in this task to enable the passing and tracing of client information about a database connection.
Refer to the Implicitly set client information topic to determine which of the two available levels of client information passing and tracing is appropriate for the configuration. Once a level is selected, there are two methods of enabling it:
- Enable either of the WAS trace groups: WAS.clientinfo or WAS.clientinfopluslogging. Enabling either of these trace groups enables client information passing for all data sources of the application server. If client information is only required for a specific data source, consider using the method below.
- Create a data source custom property to enable client information tracing. This method is functionally equivalent to enabling WAS.clientinfo as described above, except that it is enabled only on the specified data source. A data source custom property does not exist to provide the equivalent functionality of the WAS.clientinfopluslogging trace group. If that level of tracing is required, use that trace group setting instead.
Procedure
- Open the administrative console.
- If you choose to enable client information passing and tracing by using a trace group:
- Select Troubleshooting.
- Select Log and Trace.
- Select the server to use.
- Select Diagnostic Trace.
- Select Change log detail levels.
- Select the Configuration or Runtime tab. Changes made to the Configuration are applied after a server restart. Changes made to the Runtime are applied immediately.
- In the Trace Specification entry field, type either WAS.clientinfo=all or WAS.clientinfopluslogging=all. To deactivate either trace, replace =all with =off (without spacing between characters) or delete the trace string entry.
- If you choose to enable client information passing by using a data source custom property:
- Select Resources.
- Select JDBC > Data sources.
- Select the datasource on which to enable client information tracing.
- Select Custom Properties under the Additional Properties section.
- Press New....
- Enter enableClientInformation in the Name field.
- Enter true in the Value field.
- Optional: Enter a description in the Description field, if desired.
- Select java.lang.Boolean in the Type field.
- Press OK.
- Save the changes to the configuration when prompted to do so.
Unshareable and shareable connections
Pass client information to a database
Related
Implicitly set client information