You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by jt...@apache.org on 2006/02/28 01:59:22 UTC
svn commit: r381516 - in /db/derby/docs/trunk/src/adminguide:
radminconfigdb2jdrdalogconnections.dita tadminlogfile.dita
Author: jta
Date: Mon Feb 27 16:59:20 2006
New Revision: 381516
URL: http://svn.apache.org/viewcvs?rev=381516&view=rev
Log:
DERBY-809 Applied Jeff Levitt's patch that corrects documentation for
NetworkServerControl.logConnections(boolean).
Modified:
db/derby/docs/trunk/src/adminguide/radminconfigdb2jdrdalogconnections.dita
db/derby/docs/trunk/src/adminguide/tadminlogfile.dita
Modified: db/derby/docs/trunk/src/adminguide/radminconfigdb2jdrdalogconnections.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/adminguide/radminconfigdb2jdrdalogconnections.dita?rev=381516&r1=381515&r2=381516&view=diff
==============================================================================
--- db/derby/docs/trunk/src/adminguide/radminconfigdb2jdrdalogconnections.dita (original)
+++ db/derby/docs/trunk/src/adminguide/radminconfigdb2jdrdalogconnections.dita Mon Feb 27 16:59:20 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
- "../dtd/reference.dtd">
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "reference.dtd">
<!--
Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
@@ -22,15 +22,14 @@
<keywords><indexterm>derby.drda.logConnections</indexterm></keywords>
</metadata></prolog>
<refbody>
- <section>Indicates whether to log connections and disconnections.
- Also controls the logging of the connection number; Connection Number
- tracing, if enabled, goes to both the derby.log and the network server
- console.</section>
+<section>Indicates whether to log connections. Also controls the logging of
+the connection number. Connection number tracing, if enabled, goes to both
+the <codeph>derby.log</codeph> file and the network server console.</section>
<refsyn><title>Syntax</title> <codeblock>derby.drda.logConnections=[true|false]</codeblock> </refsyn>
<section><title>Default</title> <p>False.</p> </section>
<example> <title>Example</title><codeblock><b>derby.drda.logConnections=true </b></codeblock></example>
<section><title>Static or dynamic</title><p>Dynamic. System values can be
-changed by using commands or the servlet interface after the Network Server has
-been started.</p> </section>
+changed by using commands or the servlet interface after the Network Server
+has been started.</p> </section>
</refbody>
</reference>
Modified: db/derby/docs/trunk/src/adminguide/tadminlogfile.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/adminguide/tadminlogfile.dita?rev=381516&r1=381515&r2=381516&view=diff
==============================================================================
--- db/derby/docs/trunk/src/adminguide/tadminlogfile.dita (original)
+++ db/derby/docs/trunk/src/adminguide/tadminlogfile.dita Mon Feb 27 16:59:20 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE task PUBLIC "-//IBM//DTD DITA Task//EN"
- "../dtd/task.dtd">
+<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
+ "task.dtd">
<!--
Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
@@ -25,23 +25,23 @@
</metadata></prolog>
<taskbody>
<context> <p>The Network Server uses the <codeph>derby.log</codeph> file to
-log problems that it encounters. It also logs connections and disconnections
-when the property <codeph>derby.drda.logConnections</codeph> is set to <codeph>true</codeph>.
-The <codeph>derby.log </codeph>file is created when the <ph conref="adminconrefs.dita#prod/productshortname"></ph> server
+log problems that it encounters. It also logs connections when the property <codeph>derby.drda.logConnections</codeph> is
+set to <codeph>true</codeph>. The <codeph>derby.log</codeph> file is created
+when the <ph conref="adminconrefs.dita#prod/productshortname"></ph> server
is started. The Network Server then records the time and version. If a log
file exists, it is overwritten, unless the property <codeph>derby.infolog.append</codeph> is
-set to <codeph>true</codeph>. </p>
-<p> When the Network Server is logging connections, it also logs the Connection
-Number; this log message is written both to the <codeph>derby.log</codeph> file
-and to the Network Server console.</p>
-</context>
+set to <codeph>true</codeph>. </p><p> When the Network Server is logging connections,
+it also logs the Connection Number; this log message is written both to the <codeph>derby.log</codeph> file
+and to the Network Server console.</p> </context>
<steps-unordered>
-<step><cmd>To turn on connection and disconnection logging, you can use the
-servlet interface or you can issue the following command:</cmd><stepxmp><codeblock>java org.apache.derby.drda.NetworkServerControl
- logconnections on [-h <<i>hostname</i>>] [-p <<i>portnumber</i>>] </codeblock></stepxmp></step>
+<step><cmd>To turn on connection logging, you can use the servlet interface
+or you can issue the following command:</cmd><stepxmp><codeblock>java org.apache.derby.drda.NetworkServerControl
+ logconnections on [-h <<i>hostname</i>>] [-p <<i>portnumber</i>>] </codeblock></stepxmp>
+</step>
<step><cmd>To turn connection logging off you can use the servlet interface
or you can issue the following command:</cmd><stepxmp><codeblock>java org.apache.derby.drda.NetworkServerControl
- logconnections off [-h <<i>hostname</i>>][-p <<i>portnumber</i>>] </codeblock></stepxmp></step>
+ logconnections off [-h <<i>hostname</i>>][-p <<i>portnumber</i>>] </codeblock></stepxmp>
+</step>
</steps-unordered>
<postreq>See the <cite><ph conref="adminconrefs.dita#pub/citdevelop"></ph></cite> for
more information about the <codeph>derby.log</codeph> file.</postreq>