You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/10/11 17:44:04 UTC

[1/2] activemq-artemis git commit: NO-JIRA Log STOMP transaction starts with debug level instead of error

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 202ae262d -> 0d89eb3c3


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


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

Branch: refs/heads/master
Commit: 74951d9221b29336c6575de9390a8557114e10eb
Parents: 202ae26
Author: Ville Skyttä <vi...@iki.fi>
Authored: Mon Oct 8 23:08:21 2018 +0300
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu Oct 11 13:43:39 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/74951d92/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 19a0062..e9bad87 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
@@ -365,7 +365,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/74951d92/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 ee01e7e..2117508 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);
 


[2/2] activemq-artemis git commit: This closes #2353

Posted by cl...@apache.org.
This closes #2353


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

Branch: refs/heads/master
Commit: 0d89eb3c30336b1764560d9a996e78ce322b457e
Parents: 202ae26 74951d9
Author: Clebert Suconic <cl...@apache.org>
Authored: Thu Oct 11 13:43:57 2018 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu Oct 11 13:43:57 2018 -0400

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