You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/05/11 14:35:14 UTC

[Bug 66060] Registry gives inaccurate log message saying "Creating MBeanServer ... " after already created the MBeanServer

https://bz.apache.org/bugzilla/show_bug.cgi?id=66060

--- Comment #1 from Ding Ding <di...@gmail.com> ---
I also found another same issue: the in the line 384 of the file
AbstractProtocol.java, the log messages says "Added processor ...". However,
the exact adding action (source code) is placed after the logging statement,
which means that the add is still not completed.

Would it be better if we change the verb "added" to "adding" to indicate the
action is in progress? Or can we move the logging statement to the end of the
method? 

The url of file: 
https://github.com/apache/tomcat/blob/0f2e084d1583cfa4c00cec1958ec30113fb4f41e/java/org/apache/coyote/AbstractProtocol.java#L384

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org