Is there any way to change the ActiveMQ Artemis logging configuration online? Sometimes it is helpful to increase the level to TRACE or DEBUG without restarting the broker instance.
Is there any way to change the ActiveMQ Artemis logging configuration online? Sometimes it is helpful to increase the level to TRACE or DEBUG without restarting the broker instance.
You can use the java.util.logging:type=Logging MBean to inspect and change the level of individual loggers. The ActiveMQ Artemis web console exposes this via the "JMX" tab, e.g.:
Keep in mind:
level of the relevant handlers in your etc/logging.properties so if you set a logging to TRACE but the level for the handler is only DEBUG then you'll only get DEBUG logging.Lastly, it's worth noting that by default changes in etc/logging.properties are picked up dynamically by the broker at runtime so if you have access to that file it might be a better option to change it directly.