From 1ceed2aa220c5209d45b9290a44ee52d51556d2f 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@1351827 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') 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(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