Explorar o código

server/process: Note when commands complete in logs

Its hard to tell from the server logs whether commands complete or not
(or how long they take). Add extra info to allow more debugging of
server timeouts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie %!s(int64=3) %!d(string=hai) anos
pai
achega
56285ada58
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/bb/server/process.py

+ 1 - 0
lib/bb/server/process.py

@@ -215,6 +215,7 @@ class ProcessServer():
                 try:
                     serverlog("Running command %s" % command)
                     self.command_channel_reply.send(self.cooker.command.runCommand(command))
+                    serverlog("Command Completed")
                 except Exception as e:
                    logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))