Sfoglia il codice sorgente

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 anni fa
parent
commit
56285ada58
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)))