Browse Source

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 years ago
parent
commit
56285ada58
1 changed files with 1 additions and 0 deletions
  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)))