diff options
| author | Charles E. Rolke <chug@apache.org> | 2012-06-19 20:07:26 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2012-06-19 20:07:26 +0000 |
| commit | 9c8e34b04e9b424096a3bab65d0770f188e8a315 (patch) | |
| tree | bf75a626a9292cda1f41f7738e0611b1114cf13a /cpp/src | |
| parent | 52c2060c6ce8f86e509e2209aae87ad09bf70b8a (diff) | |
| download | qpid-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/src')
| -rw-r--r-- | cpp/src/tests/logging.cpp | 2 |
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); |
