[
https://issues.apache.org/jira/browse/DISPATCH-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438912#comment-15438912
]
ASF subversion and git services commented on DISPATCH-482:
----------------------------------------------------------
Commit d26d48645f647d5adacf2f811bce29948e52d833 in qpid-dispatch's branch
refs/heads/master from [~ganeshmurthy]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=d26d486 ]
DISPATCH-482 - Modified qd_transport_tracer in server.c to use format PRIu64
for printing uint64_t instead of %d
> trace level log messages are printing out as null
> -------------------------------------------------
>
> Key: DISPATCH-482
> URL: https://issues.apache.org/jira/browse/DISPATCH-482
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 0.7.0
> Environment: CentOS 6 i686
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
>
> Make sure you are testing this on a CentOS 6 i686 environment
> Add the following to your dispatch router config file (qdrouterd.conf)
> {noformat}
> log {
> module: DEFAULT
> enable: trace,debug+
> timestamp: yes
> }
> {noformat}
> Start the dispatch router and attach a receiver using python proton's
> simple_recv.py like this
> {noformat}
> python simple_recv.py -m1
> {noformat}
> You will see the following TRACE output on the console
> {noformat}
> Fri Aug 26 12:44:48 2016 SERVER (info) Operational, 4 Threads Running
> Fri Aug 26 12:44:52 2016 POLICY (trace) ALLOW Connection '127.0.0.1:40891'
> based on global connection count. nConnections= 1
> Fri Aug 26 12:44:52 2016 SERVER (debug) Accepting incoming connection from
> 127.0.0.1:40891 to 0.0.0.0:amqp
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: (null)
> {noformat}
> Notice the (null) above. The TRACE message should instead look like the
> following-
> {noformat}
> Fri Aug 26 12:44:48 2016 SERVER (info) Operational, 4 Threads Running
> Fri Aug 26 12:44:52 2016 POLICY (trace) ALLOW Connection '127.0.0.1:40891'
> based on global connection count. nConnections= 1
> Fri Aug 26 12:44:52 2016 SERVER (debug) Accepting incoming connection from
> 127.0.0.1:40891 to 0.0.0.0:amqp
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:AMQP SASL layer detected
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: <- SASL
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: -> SASL
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:0 -> @sasl-mechanisms(64)
> [sasl-server-mechanisms=@PN_SYMBOL[:"DIGEST-MD5", :ANONYMOUS, :PLAIN]]
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:RAW:
> "\x00\x00\x00B\x02\x01\x00\x00\x00S@\xd0\x00\x00\x002\x00\x00\x00\x01\xf0\x00\x00\x00)\x00\x00\x00\x03\xb3\x00\x00\x00\x0aDIGEST-MD5\x00\x00\x00\x09ANONYMOUS\x00\x00\x00\x05PLAIN"
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:0 <- @sasl-init(65)
> [mechanism=:ANONYMOUS, initial-response=b"[email protected]"]
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:Authenticated user: anonymous
> with mechanism ANONYMOUS
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:0 -> @sasl-outcome(68) [code=0]
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:RAW:
> "\x00\x00\x00\x16\x02\x01\x00\x00\x00SD\xd0\x00\x00\x00\x06\x00\x00\x00\x01P\x00"
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]:AMQP 1.0 layer detected
> Fri Aug 26 12:44:52 2016 SERVER (trace) [1]: <- AMQP
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]