summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorCharles E. Rolke <chug@apache.org>2012-06-19 20:07:26 +0000
committerCharles E. Rolke <chug@apache.org>2012-06-19 20:07:26 +0000
commit9c8e34b04e9b424096a3bab65d0770f188e8a315 (patch)
treebf75a626a9292cda1f41f7738e0611b1114cf13a /cpp
parent52c2060c6ce8f86e509e2209aae87ad09bf70b8a (diff)
downloadqpid-python-9c8e34b04e9b424096a3bab65d0770f188e8a315.tar.gz
QPID-3902 log category - force log statement to be in test category and to display [Test] with no external processing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351827 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/logging.cpp b/cpp/src/tests/logging.cpp
index bb9ca22e51..c408141d6f 100644
--- a/cpp/src/tests/logging.cpp
+++ b/cpp/src/tests/logging.cpp
@@ -347,7 +347,7 @@ QPID_AUTO_TEST_CASE(testLoggerStateure) {
};
opts.parse(ARGC(argv), const_cast<char**>(argv));
l.configure(opts);
- QPID_LOG(critical, "foo"); int srcline=__LINE__;
+ QPID_LOG_CAT(critical, test, "foo"); int srcline=__LINE__;
ifstream log("logging.tmp");
string line;
getline(log, line);