Forráskód Böngészése

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 éve
szülő
commit
56285ada58
1 módosított fájl, 1 hozzáadás és 0 törlés
  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)))