https://bz.apache.org/bugzilla/show_bug.cgi?id=66060
Bug ID: 66060
Summary: Registry gives inaccurate log message saying "Creating
MBeanServer ... " after already created the
MBeanServer
Product: Tomcat 10
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P2
Component: Util
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
Hello,
While viewing the https://issues.apache.org/jira/browse/MAPREDUCE-4262, I found
that the logging statements might give inaccurate messages.
I also found that the in the line 469 of the file Registry.java, the log
messages says "Creating MBeanServer". However, the MBean server creation should
already completed in previous code (line 467).
Would it be better if we change the verb "Creating" to "Created" to indicate
the action is completed? Or can we move the logging statement to the line
before 467? Since when there was an exception in line 467, the logging message
would not be printed, which may be not good for debugging.
The detailed url is:
https://github.com/apache/tomcat/blob/0f2e084d1583cfa4c00cec1958ec30113fb4f41e/java/org/apache/tomcat/util/modeler/Registry.java#L469
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]