Repository: activemq-artemis
Updated Branches:
  refs/heads/2.6.x 44b113315 -> b8eb5e611


NO-JIRA Log STOMP transaction starts with debug level instead of error

(cherry picked from commit 74951d9221b29336c6575de9390a8557114e10eb)


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/b8eb5e61
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/b8eb5e61
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/b8eb5e61

Branch: refs/heads/2.6.x
Commit: b8eb5e61141d6c4e74d58d2a70f766fce88e7c6d
Parents: 44b1133
Author: Ville Skyttä <[email protected]>
Authored: Mon Oct 8 23:08:21 2018 +0300
Committer: Clebert Suconic <[email protected]>
Committed: Thu Oct 11 15:12:33 2018 -0400

----------------------------------------------------------------------
 .../artemis/core/protocol/stomp/StompProtocolManager.java        | 2 +-
 .../activemq/artemis/core/server/ActiveMQServerLogger.java       | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b8eb5e61/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompProtocolManager.java
----------------------------------------------------------------------
diff --git 
a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompProtocolManager.java
 
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompProtocolManager.java
index c5782c1..4c28190 100644
--- 
a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompProtocolManager.java
+++ 
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompProtocolManager.java
@@ -400,7 +400,7 @@ public class StompProtocolManager extends 
AbstractProtocolManager<StompFrame, St
    }
 
    public void beginTransaction(StompConnection connection, String txID) 
throws Exception {
-      ActiveMQServerLogger.LOGGER.stompBeginTX(txID);
+      ActiveMQServerLogger.LOGGER.debugf("-------------------------------Stomp 
begin tx: %s", txID);
       if (transactedSessions.containsKey(txID)) {
          ActiveMQServerLogger.LOGGER.stompErrorTXExists(txID);
          throw new ActiveMQStompException(connection, "Transaction already 
started: " + txID);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b8eb5e61/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
----------------------------------------------------------------------
diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
index 755aeb7..ccdcca1 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
@@ -1722,10 +1722,6 @@ public interface ActiveMQServerLogger extends 
BasicLogger {
    void errorCancellingRefOnBridge(@Cause Exception e, MessageReference ref2);
 
    @LogMessage(level = Logger.Level.ERROR)
-   @Message(id = 224031, value = "-------------------------------Stomp begin 
tx: {0}", format = Message.Format.MESSAGE_FORMAT)
-   void stompBeginTX(String txID);
-
-   @LogMessage(level = Logger.Level.ERROR)
    @Message(id = 224032, value = "Failed to pause bridge", format = 
Message.Format.MESSAGE_FORMAT)
    void errorPausingBridge(@Cause Exception e);
 

Reply via email to