db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "UndocumentedDerbyBehavior" by MamtaSatoor
Date Wed, 31 Jan 2007 23:21:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by MamtaSatoor:
http://wiki.apache.org/db-derby/UndocumentedDerbyBehavior

------------------------------------------------------------------------------
  This page lists the undocumented Derby behavior which can be handy to the users at the same
time, the users should be aware that this behavior is not documented and hence it is subject
to change at anytime.
  
  = Client side tracing under Network Server =
- Currently, the client tracing can be enabled by setting jdbc url attributes or through setXXX
methods on the DataSource or by calling DriverManager.setLogWriter method. All these options
require changing the client code which may not be a feasible option for a deployed client
application. To get around this, in Derby 10.3, 2 new JVM properties have been added. They
are namely derby.client.traceLevel and derby.client.traceDirectory. When the client application
is started, the users can include these 2 JVM properties to start the client side tracing.
eg
+ Currently, the client tracing can be enabled by setting jdbc url attributes or through setXXX
methods on the DataSource or by calling DriverManager.setLogWriter method. All these options
require changing the client code which may not be a feasible option for a deployed client
application. To get around this, in Derby 10.3, 2 new JVM properties([http://issues.apache.org/jira/browse/DERBY-1275
DERBY-1275]) have been added. They are namely derby.client.traceLevel and derby.client.traceDirectory.
When the client application is started, the users can include these 2 JVM properties to start
the client side tracing. eg
  java -Dderby.client.traceDirectory=./traceDir -Dderby.client.traceLevel=64 clientApplication
  

Mime
View raw message