From 269580b80a3242f7fb6e7dbfff9859e43bbad8fd Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 19 Aug 2014 22:34:15 +0000 Subject: QPID-6020: HA logging improvements - log prefix with status and ID. Include broker status and ID in (almost) all logging messages. Makes it much easier to track broker state and interactions. Sundry other logging improvements including: - Demote noisy messages to trace - connections from rgmanager status checks, searching for primary. - Rationalise start-up messages. - Improved queue state detail replicating subscription and queue guard initialization. - Fail to prepare TX is error. - Collect all primary TX errors into one. - Fix status of catchup brokers in primary membership for logging. - Add process name/PID info to client connection messages. - Various minor message tweaks. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619003 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/qpid-txtest2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/qpid-txtest2.cpp') diff --git a/qpid/cpp/src/tests/qpid-txtest2.cpp b/qpid/cpp/src/tests/qpid-txtest2.cpp index 3d9941baee..d64f13d9c5 100644 --- a/qpid/cpp/src/tests/qpid-txtest2.cpp +++ b/qpid/cpp/src/tests/qpid-txtest2.cpp @@ -165,7 +165,7 @@ struct Client session.close(); connection.close(); } catch(const std::exception& e) { - std::cout << e.what() << std::endl; + std::cout << "Client shutdown: " << e.what() << std::endl; } } }; @@ -350,7 +350,7 @@ int main(int argc, char** argv) } return 0; } catch(const std::exception& e) { - std::cout << e.what() << std::endl; + std::cout << argv[0] << ": " << e.what() << std::endl; } return 2; } -- cgit v1.2.1