Refine the logging messages

This commit is contained in:
Zishuo Ding 2022-05-11 14:46:31 -04:00
parent 9b1eb96b83
commit f2c9a6c718
2 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ public class StatisticsBrokerPlugin implements BrokerPlugin {
* @see org.apache.activemq.broker.BrokerPlugin#installPlugin(org.apache.activemq.broker.Broker) * @see org.apache.activemq.broker.BrokerPlugin#installPlugin(org.apache.activemq.broker.Broker)
*/ */
public Broker installPlugin(Broker broker) throws Exception { public Broker installPlugin(Broker broker) throws Exception {
StatisticsBroker answer = new StatisticsBroker(broker);
LOG.info("Installing StaticsBroker"); LOG.info("Installing StaticsBroker");
StatisticsBroker answer = new StatisticsBroker(broker);
return answer; return answer;
} }
} }

View File

@ -90,7 +90,7 @@ public abstract class UpdateVirtualDestinationsTask implements Runnable {
if (plugin.getBrokerService().isUseVirtualDestSubs()) { if (plugin.getBrokerService().isUseVirtualDestSubs()) {
for (VirtualDestination removedVirtualDest : removedVirtualDests) { for (VirtualDestination removedVirtualDest : removedVirtualDests) {
plugin.virtualDestinationRemoved(connectionContext, removedVirtualDest); plugin.virtualDestinationRemoved(connectionContext, removedVirtualDest);
LOG.info("Removing virtual destination: {}", removedVirtualDest); LOG.info("Removed virtual destination: {}", removedVirtualDest);
} }
for (VirtualDestination addedVirtualDest : addedVirtualDests) { for (VirtualDestination addedVirtualDest : addedVirtualDests) {