From e5be6860646ab780b8ce0df7a7c5dce8a10d4a4d Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 25 Jul 2017 19:07:34 -0400 Subject: [PATCH] NO-JIRA traced on the RA --- .../apache/activemq/artemis/ra/ActiveMQResourceAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java index aa2a09935e..990d9e47b6 100644 --- a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java +++ b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java @@ -638,7 +638,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable { * @param cacheDestinations The value */ public void setCacheDestinations(final Boolean cacheDestinations) { - if (ActiveMQResourceAdapter.trace) { + if (logger.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("setCacheDestinations(" + cacheDestinations + ")"); } @@ -651,7 +651,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable { * @return The value */ public Boolean isCacheDestinations() { - if (ActiveMQResourceAdapter.trace) { + if (logger.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("isCacheDestinations()"); }