tabish121 commented on code in PR #4235:
URL: https://github.com/apache/activemq-artemis/pull/4235#discussion_r982602873
##########
artemis-core-client/src/main/java/org/apache/activemq/artemis/utils/AutoCreateUtil.java:
##########
@@ -47,7 +50,7 @@ public static void autoCreateQueue(ClientSession session,
SimpleString destAddr
.setAddress(destAddress);
setRequiredQueueConfigurationIfNotSet(queueConfiguration,response,
RoutingType.ANYCAST, selectorString, true);
session.createQueue(queueConfiguration);
- ActiveMQClientLogger.LOGGER.debug("The queue " + destAddress +
" was created automatically");
+ logger.debug("The queue " + destAddress + " was created
automatically");
Review Comment:
Indeed the changes would be large given how many bad logging usages I see.
Most of the gating that is currently done is either not needed or wouldn't be
needed if loggers used the formatting style as they should.
--
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]