db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Van Couvering" <David.Vancouver...@Sun.COM>
Subject Re: Proposed change for DERBY-569
Date Mon, 10 Oct 2005 22:47:46 GMT
Hi, Bryan.  The change seems reasonable at this level, you might want to 
submit a more "official" patch.  Do you have the directions to do this? 
  If these are hard to find or execute, we should fix this...


Bryan Pendleton wrote:
> DERBY-569 is my current "itch", so I am exploring scratching it.
> Following the suggestion made by Oystein Grovlen in the comments
> at http://issues.apache.org/jira/browse/DERBY-569, I have been
> experimenting with letting derby.drda.logConnections also turn
> off logging of connections to the console.
> I think that a 1-line change to org.apache.derby.impl.drda.ClientThread
> will do the trick quite nicely:
> -bash-2.05b$ diff ClientThread.orig ClientThread.java
> 85c85,86
> <                               
> parent.consolePropertyMessage("DRDA_ConnNumber.I",
> ---
>  >                               if (parent.getLogConnections())
>  >                                   
> parent.consolePropertyMessage("DRDA_ConnNumber.I",
> I am working with version, so the line numbers in the diff
> are with respect to the version of ClientThread.java in
> I have made this change in my local environment and it appears to have
> the desired affect:
>  - the "Connection number: NNN" messages are turned OFF by default
>  - the messages appear if derby.drda.logConnections=true is set in
>    derby.properties.
> I think this is a reasonable fix, as derby.drda.logConnections seems
> like an appropriate property to use to control this log message.
> Can you please have a look at this change and consider whether it would
> be acceptable to incorporate back into the main source?
> thanks,
> bryan

View raw message