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.0.2, 2.0.1, 2.0
Environment: All Java platforms
Reporter: Dan Becker
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: [EMAIL PROTECTED]
port 1: [EMAIL PROTECTED]
port 2: [EMAIL PROTECTED]
port 3: [EMAIL PROTECTED]
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.