diff options
author | Alan Conway <aconway@apache.org> | 2009-08-24 21:30:16 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-08-24 21:30:16 +0000 |
commit | 45ee72663547d326c79f50688d1cadb0320cc39e (patch) | |
tree | 89bc59920406da5a8a85b8c9e4d72c3b13eef018 | |
parent | 5585f3a3a52b59ebd2fb543a7b9b0fc3a854821b (diff) | |
download | qpid-python-45ee72663547d326c79f50688d1cadb0320cc39e.tar.gz |
Fix misleading log messages.
Changed "startup failed" to "unexpected error" as the messages are
used for any exception thrown out of Broker::run() not just startup.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807389 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/broker/Daemon.cpp | 2 | ||||
-rw-r--r-- | cpp/src/qpidd.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Daemon.cpp b/cpp/src/qpid/broker/Daemon.cpp index aa8dd8855b..21848e23de 100644 --- a/cpp/src/qpid/broker/Daemon.cpp +++ b/cpp/src/qpid/broker/Daemon.cpp @@ -85,7 +85,7 @@ void Daemon::fork() child(); } catch (const exception& e) { - QPID_LOG(critical, "Daemon startup failed: " << e.what()); + QPID_LOG(critical, "Unexpected error: " << e.what()); uint16_t port = 0; int unused_ret; //Supress warning about ignoring return value. unused_ret = write(pipeFds[1], &port, sizeof(uint16_t)); diff --git a/cpp/src/qpidd.cpp b/cpp/src/qpidd.cpp index 9c3c6b0c4b..1839a62205 100644 --- a/cpp/src/qpidd.cpp +++ b/cpp/src/qpidd.cpp @@ -77,7 +77,7 @@ int main(int argc, char* argv[]) return broker.execute(options.get()); } catch(const exception& e) { - QPID_LOG(critical, "Broker start-up failed: " << e.what()); + QPID_LOG(critical, "Unexpected error: " << e.what()); } return 1; } |