From: Michal 'vorner' Vaner Date: Mon, 14 Jan 2013 14:20:47 +0000 (+0100) Subject: [2582] Missing log message added X-Git-Tag: bind10-1.1.0beta1-release~72^2~44^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd3de5ebc7bbc021ba4b36769f4541a1fad5fffc;p=thirdparty%2Fkea.git [2582] Missing log message added A leftover from logging switch, there was a call to write to stdout, instead of logging. --- diff --git a/src/bin/msgq/msgq.py.in b/src/bin/msgq/msgq.py.in index 693760078c..6ddc31fd50 100755 --- a/src/bin/msgq/msgq.py.in +++ b/src/bin/msgq/msgq.py.in @@ -530,8 +530,7 @@ class MsgQ: def shutdown(self): """Stop the MsgQ master.""" - if self.verbose: - sys.stdout.write("[b10-msgq] Stopping the server.\n") + logger.debug(TRACE_START, MSGQ_SHUTDOWN) self.listen_socket.close() if os.path.exists(self.socket_file): os.remove(self.socket_file) diff --git a/src/bin/msgq/msgq_messages.mes b/src/bin/msgq/msgq_messages.mes index 21c5aa8a06..78cf9c639f 100644 --- a/src/bin/msgq/msgq_messages.mes +++ b/src/bin/msgq/msgq_messages.mes @@ -69,6 +69,9 @@ incompatible version of a module and message queue daemon. There was a low-level error when sending data to a socket. The error is logged and the corresponding socket is dropped. +% MSGQ_SHUTDOWN Stopping Msgq +Debug message. The message queue is shutting down. + % MSGQ_SOCK_CLOSE Closing socket fd %1 Debug message. Closing the mentioned socket.