Changes the attributes of a database connector.
alter connector <dataserver_make>.<connector_type> set <option> [to] <value>
Indicates the database server.
Indicates the connector technology used for the connector implementation.
Provides you with choices for various trace options for a connector.
trace
trace_logpath
A character string containing a new value for the option.
Configures all DSI instances to use the ASE/CT-Lib connector with general_1 trace condition enabled:
alter connector "ase"."ctlib" set trace to "econn,general_1,on"
In this example, the <option> parameter is set to trace_logpath and all the trace messages produced by the ASE/CT-Lib connector are written to the connector-specific trace file in addition to the Replication Server log file:
alter connector "ase"."ctlib" set trace_logpath to "/sybase/sybase_rep/log/"
ec
<dataserver_make>
<connector_type>
.log
The <dataserver_make> and <connector_type> are variables. The values will depend on the type of database being used and the associated connector technology. For example, the connector-specific log file created for ASE/CT-Lib is ecasectlib.log.
alter connector "iq"."ctlib" set trace_logpath to "fully-qualified path name"
Execute alter connector at the Replication Server where the connection was created.
Execute alter connector to turn on traces for all connections using the specified connector.