[ 
https://issues.apache.org/jira/browse/DISPATCH-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944945#comment-14944945
 ] 

ASF GitHub Bot commented on DISPATCH-178:
-----------------------------------------

Github user ted-ross commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/12#discussion_r41256762
  
    --- Diff: src/server.c ---
    @@ -799,6 +822,9 @@ static void cxtr_try_open(void *context)
         // qdpn_connector is not thread safe
         //
         sys_mutex_lock(ct->server->lock);
    +    // Increment the connection id so the next connection can use it
    +    ctx->uid          = ct->server->next_connection_id;
    +    ct->server->next_connection_id++;
    --- End diff --
    
    Same comment as above.


> Route proton trace messages to the dispatch router log file instead of console
> ------------------------------------------------------------------------------
>
>                 Key: DISPATCH-178
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-178
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 0.5
>            Reporter: Ganesh Murthy
>            Priority: Minor
>
> Steps to reproduce - 
> 1. Turn on proton frame level logging by doing the following on the command 
> line
> export PN_TRACE_FRM=1
> 2. Add the following line to the dispatch router config file 
> (qdrouterd.conf). This will enable trace level logging on the dispatch router 
> and send log messages to qdrouterd.log.
> log {
>     module: DEFAULT
>     enable: trace+
>     output: qdrouterd.log
> }
> 3. Now start the dispatch router and receive and send messages using proton's 
> simple_receive.py and simple_send.py respectively.
> You will notice that the AMQP frame level trace is shown on the console. The 
> frame level traffic handled/generated by the router should appear in the 
> qdrouterd.log file. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to