db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r381375 - in /db/derby/code/trunk/java/drda/org/apache/derby: drda/NetworkServerControl.java impl/drda/NetworkServerControlImpl.java
Date Mon, 27 Feb 2006 16:37:59 GMT
Author: bpendleton
Date: Mon Feb 27 08:37:54 2006
New Revision: 381375

URL: http://svn.apache.org/viewcvs?rev=381375&view=rev
Log:
DERBY-809 Incorrect documentation for NetworkServerControl.logConnections

Patch contributed by Kristian Waagan

This is a small patch for the javadoc of NetworkServerControl and
NetworkServerControlImpl, removing the false statement that
disconnections are logged to derby.log.


Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/drda/NetworkServerControl.java
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/drda/NetworkServerControl.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/drda/org/apache/derby/drda/NetworkServerControl.java?rev=381375&r1=381374&r2=381375&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/drda/NetworkServerControl.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/drda/NetworkServerControl.java Mon Feb
27 08:37:54 2006
@@ -62,8 +62,8 @@
 	</LI>
 
 	<LI>logconnections {on | off} [-h &lt;host>] [-p &lt;portnumber>]: 

-	This turns logging of connections and disconnections on and off.  
-	Connections and disconnections are logged to derby.log. 
+	This turns logging of connections on or off.  
+	Connections are logged to derby.log. 
 	Default is off.</LI>
 
 	<LI>maxthreads &lt;max> [-h &lt;host>][-p &lt;portnumber>]: 

@@ -110,7 +110,7 @@
 	all sessions. Default is tracing is off.</LI>
 
 	<LI>derby.drda.logConnections=true:  This property turns on logging
-	of connections and disconnections. Default is connections are not logged.</LI>
+	of connections. Default is connections are not logged.</LI>
 
 	<LI>derby.drda.minThreads=&lt;value>: If this property
 	is set, the &lt;value> number of threads will be created when the Network Server
is
@@ -344,7 +344,7 @@
 	/**
 	 * Turn logging connections on or off. When logging is turned on a message is
 	 * written to the Derby error log each time a connection 
-	 * connects or disconnects.
+	 * is made.
 	 *
 	 * @param on			true to turn on, false to turn  off
 	 *

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java?rev=381375&r1=381374&r2=381375&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
(original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
Mon Feb 27 08:37:54 2006
@@ -223,7 +223,7 @@
 	private Object traceAllSync = new Object();	// object to use for syncing reading
 										// and changing trace all
 	private Object serverStartSync = new Object();	// for syncing start of server.
-	private boolean logConnections;		// log connect and disconnects
+	private boolean logConnections;		// log connects
 	private Object logConnectionsSync = new Object(); // object to use for syncing 
 										// logConnections value
 	private int minThreads;				// default minimum number of connection threads
@@ -861,7 +861,7 @@
 
 	/**
 	 * Turn logging connections on or off. When logging is turned on a message is
-	 * written to derby.log each time a connection connects or disconnects.
+	 * written to derby.log each time a connection is made.
 	 *
 	 * @param on			true to turn on, false to turn  off
 	 *



Mime
View raw message