Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68149 invoked from network); 15 Feb 2006 04:26:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 04:26:34 -0000 Received: (qmail 6814 invoked by uid 500); 15 Feb 2006 04:26:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6790 invoked by uid 500); 15 Feb 2006 04:26:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 6781 invoked by uid 99); 15 Feb 2006 04:26:33 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 20:26:31 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3A5D2DE for ; Wed, 15 Feb 2006 05:26:10 +0100 (CET) Message-ID: <427362588.1139977570236.JavaMail.jira@ajax.apache.org> Date: Wed, 15 Feb 2006 05:26:10 +0100 (CET) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-515) Network Server should log server start and shutdown time to derby.log In-Reply-To: <521880234.1124372934257.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-515?page=all ] Deepa Remesh updated DERBY-515: ------------------------------- Attachment: derby-515-v2.diff derby-515-v2.status Attaching a revised patch 'derby-515-v2.diff' which adds timestamp to network server start and shutdown messages. Summary of patch: * Changes network server start and shutdown messages to include product name, version and timestamp. I changed the messages to what Kathey suggested. With the patch, messages will look like this: Apache Derby Network Server - 10.2.0.0 alpha started and ready to accept connections on port 1527 at 2006-02-15 03:42:51.676 GMT Apache Derby Network Server - 10.2.0.0 alpha shutdown at 2006-02-15 03:49:14.988 GMT * Changes only English messages. The first parameter for start message is kept the same. * Modifies NetworkServerControlImpl to pass in the additional parameters to the messages. Formatiing of timestamp is done same way as it is done for Derby boot message. * Modifies master files. * Since the changed master files contain version information, they are added to tools\release\build.xml so that version will get bumped at release time. In Derby Server and Admin guide, we may have to change the messages in sample output for NsSample program. I will open another jira once this patch is reviewed and committed. I have a couple of questions and would appreciate if someone can answer them: 1. I found that the test derbynet/NSinSameJVM.java has two masters - one for client and one for jcc driver. These masters are identical. Can we remove these and keep a single copy in top "master" folder? 2. Will it be useful to add timestamp to messages for other netwrok server commands (like trace, timeslice, maxthreads etc) ? With this patch, I ran derbynetmats and derbynetclientmats with Sun JDK 1.4.2 on Win XP. No failures. Please take a look at this patch. Thanks. > Network Server should log server start and shutdown time to derby.log > --------------------------------------------------------------------- > > Key: DERBY-515 > URL: http://issues.apache.org/jira/browse/DERBY-515 > Project: Derby > Type: Improvement > Components: Network Server > Versions: 10.1.2.0, 10.2.0.0 > Reporter: Kathey Marsden > Assignee: Deepa Remesh > Fix For: 10.2.0.0 > Attachments: derby-515-v2.diff, derby-515-v2.status > > Network server currently only reports the start and stop of network server to the console output and does not print an associated timestamp. > It would be helpful if the start and stop times of network server were recorded in the derby.log, so there would not be a need to check t the console output. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira