vpelikh commented on code in PR #4157:
URL: https://github.com/apache/logging-log4j2/pull/4157#discussion_r3611038560


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java:
##########
@@ -571,15 +573,9 @@ public Collection<Logger> getLoggers() {
     @Override
     public Logger getLogger(final String name, final MessageFactory 
messageFactory) {
         final MessageFactory actualMessageFactory = messageFactory != null ? 
messageFactory : defaultMessageFactory;
-        // Note: This is the only method where we add entries to the 
'loggerRegistry' ivar.

Review Comment:
   @ramanathan1504 just to confirm – are you saying the comment should stay 
(i.e., we should keep it, not remove it)? Just want to make sure I understand 
correctly. Thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to