summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-28 16:04:22 +0000
committerAlan Conway <aconway@apache.org>2007-11-28 16:04:22 +0000
commite427d74267a1a11238425fc540ab84cde2474a3e (patch)
treec34fcf6d6ed55adf67c998746fd630ed1e10b32f /qpid/cpp/src
parent065cbaf4459fc521c903bf7dc38e823a3c1a36c6 (diff)
downloadqpid-python-e427d74267a1a11238425fc540ab84cde2474a3e.tar.gz
src/tests/perfdist: Restore trace option, still used by some tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/tests/TestOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/TestOptions.h b/qpid/cpp/src/tests/TestOptions.h
index e226ebbb68..3c3d13f3dd 100644
--- a/qpid/cpp/src/tests/TestOptions.h
+++ b/qpid/cpp/src/tests/TestOptions.h
@@ -62,6 +62,7 @@ struct TestOptions : public qpid::Options
msg << *this << std::endl << std::endl << e.what() << std::endl;
throw qpid::Options::Exception(msg.str());
}
+ trace = log.trace;
qpid::log::Logger::instance().configure(log, argv[0]);
if (help) {
std::ostringstream msg;
@@ -82,6 +83,7 @@ struct TestOptions : public qpid::Options
std::string clientid;
std::string username;
std::string password;
+ bool trace;
bool help;
log::Options log;
std::string helpText;