Download Informix Enterprise Gateway with DRDA User Manual
Transcript
The Trace File The following example shows the gw.log entries for the conversation that is used for a direct connection. In contrast with the distributed connection in the previous example, this example has only one connect record and one disconnect record. 1996-05-02 (Unix user TERRYH 1996-05-02 (Unix user 14:10:32.221934 PID= 8279 Informix user ”terryh” terryh) connected to RDB INFORMIXSOFTWARE as user 14:10:50.602366 PID= 8279 Informix user ”terryh” terryh) disconnected from RDB INFORMIXSOFTWARE For more information about conversations, refer to “Distributed Queries” on page 1-9. The Trace File The GWDEBUG environment variable controls trace-event logging. You can set DBTEMP to specify a directory for the trace file. For more information about environment variables, refer to the Informix Guide to SQL: Reference. Trace-file data is written in the code set of the client application. To turn on trace-event logging, set the GWDEBUG environment variable either in the Gateway daemon (gwd) environment before you start the daemon, or in the environment-configuration file at any time. Using Trace Logging The following table indicates the values and meaning for the GWDEBUG environment variable settings for the Gateway. Value Meaning 1 Enables the Gateway to trace the sqlca that the application server returns. 2 Enables the Gateway to trace the sqlda that the application serve returns. 3 Enables the Gateway to trace the distributed data-management (DDM) commands that are sent to the application server, the DDM commands that are received from the application server, and the sqlda that the application server returns. (1 of 2) Programming with the Gateway 6-75
Related documents