]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2582] Missing log message added
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 14 Jan 2013 14:20:47 +0000 (15:20 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 14 Jan 2013 14:20:47 +0000 (15:20 +0100)
A leftover from logging switch, there was a call to write to stdout,
instead of logging.

src/bin/msgq/msgq.py.in
src/bin/msgq/msgq_messages.mes

index 693760078c2f7b53bf677d391ce00fbf60d863d7..6ddc31fd50f891b07857bf9794c0fe5749185b8d 100755 (executable)
@@ -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)
index 21c5aa8a06a8199a1dc4b7984234c2d374f5a8f7..78cf9c639f1e3d31bb96c421aeacaeefae305f9c 100644 (file)
@@ -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.