You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2016/08/26 13:15:20 UTC
[jira] [Resolved] (DISPATCH-482) trace level log messages are
printing out as null
[ https://issues.apache.org/jira/browse/DISPATCH-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ganesh Murthy resolved DISPATCH-482.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.7.0
> 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
> Fix For: 0.7.0
>
>
> 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"anonymous@livecd.centos"]
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org