geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Becker (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-3859) Provide toString method to StartupMonitorUtil to aid monitoring, logging, debugging
Date Fri, 15 Feb 2008 14:50:08 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Becker updated GERONIMO-3859:
---------------------------------

    Affects Version/s:     (was: 2.0.2)
                           (was: 2.0.1)
                           (was: 2.0)
                       2.2
                       2.1.1
                       2.1

> 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
>            Priority: Minor
>         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.


Mime
View raw message