# client_trace

Administrators can trace a connection or group of connections. When this property is enabled, the server instructs each client to generate trace output for opening or closing a connection, message activity, and transaction activity. This type of tracing does not require restarting the client program.

    client_trace = {enabled|disabled} [target=location]
                   [user|connid|clientid=value]

Each client sends trace output to location, which may be either `stderr` (the default) or `stdout`.

Note: You can also direct client tracing output to a file, using the `tibems_SetTraceFile`, `Tibjms.setTraceFile` and `Tibems.SetTraceFile` in the C, Java and .NET libraries, respectively.

The default behavior is to trace all connections. You can specify either `user`, `connid` or `clientid` to selectively trace specific connections. The value can be a user name or ID (as appropriate).

Setting this parameter using the administration tool does not change its value in the configuration file `tibemsd.conf`; that is, the value does not persist across server restarts unless you set it in the configuration file.

Copyright © Cloud Software Group, Inc. All rights reserved.