summaryrefslogtreecommitdiff
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
commit1ceed2aa220c5209d45b9290a44ee52d51556d2f (patch)
tree626d49b8e73e50a7fa8adf7c9ae508efa1a423a9
parentb503e00cdda7069abbcb5cad0961b7c4bb24ed9e (diff)
downloadqpid-python-1ceed2aa220c5209d45b9290a44ee52d51556d2f.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@1351827 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/tests/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/logging.cpp b/qpid/cpp/src/tests/logging.cpp
index bb9ca22e51..c408141d6f 100644
--- a/qpid/cpp/src/tests/logging.cpp
+++ b/qpid/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);