Ver código fonte

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 3 anos atrás
pai
commit
56285ada58
1 arquivos alterados com 1 adições e 0 exclusões
  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)))