qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Attapattu <rajit...@gmail.com>
Subject [Java] Minor enhancements to QpidTestCase
Date Tue, 03 Nov 2009 15:23:17 GMT
Hi All,

I have added some minor enhancements to our test framework at rev
832452 in Qpid trunk.
It introduces two jvm args "broker.log.interleave" and "broker.log.prefix".
The goal was to make it easy to parse/look at log files.

broker.log.interleave if set to false, will print the broker output
into a separate file.
The file name will be in the following format and placed alongside the
test output.
"%s/TEST-%s.broker.out"

Ex.
TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.out
TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.broker.out

"broker.log.interleave" is set to true in module.xml to default to the
current behaviour.

"broker.log.prefix" which is set to "BROKER: " in the module.xml will
prefix each broker output line.
This would help to follow the log files more easily as it would help
to distinguish between broker and client output.
It would also be handy for grep.

Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message