Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 65804 invoked from network); 20 Feb 2008 16:50:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2008 16:50:23 -0000 Received: (qmail 6471 invoked by uid 500); 20 Feb 2008 16:50:14 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 6403 invoked by uid 500); 20 Feb 2008 16:50:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 6288 invoked by uid 99); 20 Feb 2008 16:50:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 08:50:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 16:49:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83499234C055 for ; Wed, 20 Feb 2008 08:49:44 -0800 (PST) Message-ID: <243514021.1203526184536.JavaMail.jira@brutus> Date: Wed, 20 Feb 2008 08:49:44 -0800 (PST) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-3859) Provide toString method to StartupMonitorUtil to aid monitoring, logging, debugging In-Reply-To: <738593.1203086768289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-3859. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2 2.1.1 Committed the patch to trunk (revision 629529) and branches/2.1 (revision 629529). Thanks! > Provide toString method to StartupMonitorUtil to aid monitoring, logging, debugging > ----------------------------------------------------------------------------------- > > Key: GERONIMO-3859 > URL: https://issues.apache.org/jira/browse/GERONIMO-3859 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: kernel > Affects Versions: 2.1, 2.1.1, 2.2 > Environment: All Java platforms > Reporter: Dan Becker > Assignee: Jarek Gawor > Priority: Minor > Fix For: 2.1.1, 2.2 > > Attachments: Geronimo-3859.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > Provide toString method to StartupMonitorUtil$AddressHolder class to aid monitoring, logging, and debugging. Currently, a println on this class with no toString method produces this kind of output: > port 0: StartupMonitorUtil$AddressHolder@2614 > port 1: StartupMonitorUtil$AddressHolder@2866 > port 2: StartupMonitorUtil$AddressHolder@3092 > port 3: StartupMonitorUtil$AddressHolder@5439 > By adding a toString method, any printlns, logging, or debugging will produce this kind of output: > port 0: AddressHolder: name=Derby Connector, address=/0.0.0.0:0. > port 1: AddressHolder: name=CORBA Naming Service, address=localhost/127.0.0.1:1050. > port 2: AddressHolder: name=RMI Naming, address=/0.0.0.0:1099. > port 3: AddressHolder: name=OpenEJB ORB Adapter, address=localhost/127.0.0.1:2001. > The second method is much more informative, user-friendly, and requires less clicks to see the information in a debugger. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.