summaryrefslogtreecommitdiff
path: root/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
commit4c3d7def3ec41f44744d8f96e5229022b326b4fa (patch)
tree263c7cf881e9349e2c2e53960012cb1168b25c7b /cpp/src
parent30f131bc5defcdc13144eb2ad38f6ec9f4e8f798 (diff)
downloadqpid-python-4c3d7def3ec41f44744d8f96e5229022b326b4fa.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/qpid@599047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/TestOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/TestOptions.h b/cpp/src/tests/TestOptions.h
index e226ebbb68..3c3d13f3dd 100644
--- a/cpp/src/tests/TestOptions.h
+++ b/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;