From 9c8e34b04e9b424096a3bab65d0770f188e8a315 Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Tue, 19 Jun 2012 20:07:26 +0000 Subject: 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 --- cpp/src/tests/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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(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); -- cgit v1.2.1