Justin Ross created QPID-5683:
---------------------------------
Summary: 1.0 protocol logging is much less complete than 0-10
logging
Key: QPID-5683
URL: https://issues.apache.org/jira/browse/QPID-5683
Project: Qpid
Issue Type: Improvement
Components: Java Broker
Affects Versions: 0.26, 0.29
Reporter: Justin Ross
The following test program shows the difference. I have the java broker
logging set to trace.
Test program:
{noformat}
import sys
# You will need to build the swig python binding and point at it
sys.path.append("/home/jross/code/qpid/cpp/build/bindings/qpid/python")
from qpid_messaging import Connection
conn = Connection("0.0.0.0:5672", protocol="amqp1.0")
conn.open()
try:
session = conn.session()
sender = session.sender("test")
message = Message("test")
sender.send(message)
finally:
conn.close()
{noformat}
With "amqp1.0" as the protocol, I get the following output:
{noformat}
2014-04-11 11:26:16,491 INFO [IoReceiver - /127.0.0.1:34965]
(stats.StatisticsCounter) - Resetting statistics for counter: counter-17
2014-04-11 11:26:16,492 INFO [IoReceiver - /127.0.0.1:34965]
(stats.StatisticsCounter) - Resetting statistics for counter: counter-18
2014-04-11 11:26:16,492 INFO [IoReceiver - /127.0.0.1:34965]
(stats.StatisticsCounter) - Resetting statistics for counter: counter-19
2014-04-11 11:26:16,492 INFO [IoReceiver - /127.0.0.1:34965]
(stats.StatisticsCounter) - Resetting statistics for counter: counter-20
{noformat}
If, however, I set it to 0-10, I get a lot more (very nice) logging.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]