Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1601#discussion_r145949482
  
    --- Diff: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java
 ---
    @@ -443,7 +445,9 @@ private void dispatch() {
                 inDispatch = true;
                 while ((ev = collector.peek()) != null) {
                    for (EventHandler h : handlers) {
    -                  if (log.isTraceEnabled()) {
    +                  if (PN_TRACE_FRM) {
    +                     log.info("Handling " + ev + " towards " + h);
    --- End diff --
    
    It is often what I need when debugging AMQP.. I wanted to have an easy easy 
to turn on and debug at console without having to turn trace for everything 
(It's a bit diefficult to do individually).


---

Reply via email to