apache > db
Apache DB Project
 
Font size:      

Log File

Log File

The Network Server uses the Derby derby.log file for logging problems it encounters. It also logs connections and disconnections when the property derby.drda.logConnections is set to true. The derby.log file is created when the Derby server is booted. The network server records the time and version. If a log file exists, it is overwritten, unless the property derby.infolog.append is set to true. See the Derby Developer's Guide for more information about derby.log.

You can also turn on connection and disconnection logging using the following command, (or through the servlet interface):

java org.apache.derby.drda.NetworkServerControl logconnections on 
[-h <host>] [-p <portnumber>] 

Turn connection logging off with the following command, (or through the servlet interface):

java org.apache.derby.drda.NetworkServerControl logconnections off 
[-h <host>][-p <portnumber>] 

See the DB2 UDB documentation for information about the Universal Driver's error reporting.


Previous Page
Next Page
Table of Contents
Index