ARTEMIS-2475 log metrics plugin init details
This commit is contained in:
parent
9002bc533f
commit
c5376789b0
|
@ -793,6 +793,7 @@ public final class FileConfigurationParser extends XMLConfigurationUtil {
|
|||
}
|
||||
});
|
||||
|
||||
ActiveMQServerLogger.LOGGER.initializingMetricsPlugin(clazz, properties.toString());
|
||||
config.setMetricsPlugin(metricsPlugin.init(properties));
|
||||
|
||||
return metricsPlugin;
|
||||
|
|
|
@ -434,6 +434,10 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
@Message(id = 221081, value = "There is no address with ID {0}, deleting record {1}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void infoNoAddressWithID(Long id, Long record);
|
||||
|
||||
@LogMessage(level = Logger.Level.INFO)
|
||||
@Message(id = 221082, value = "Initializing metrics plugin {0} with properties: {1}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void initializingMetricsPlugin(String clazz, String properties);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222000, value = "ActiveMQServer is being finalized and has not been stopped. Please remember to stop the server before letting it go out of scope",
|
||||
format = Message.Format.MESSAGE_FORMAT)
|
||||
|
|
Loading…
Reference in New Issue