qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-178) Route proton trace messages to the dispatch router log file instead of console
Date Tue, 06 Oct 2015 12:28:26 GMT

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

ASF GitHub Bot commented on DISPATCH-178:

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

    --- Diff: src/server_private.h ---
    @@ -98,6 +98,7 @@ struct qd_connection_t {
         void             *user_context;
         void             *link_context; // Context shared by this connection's links
         qd_user_fd_t     *ufd;
    +    uint64_t         uid; // A unique identifier for the qd_connection_t. The underlying
pn_connection already has one but it is long and clunky.
    --- End diff --
    This should be called "connection_id".

> 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

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

View raw message