Skip to contentSkip to conversation

server/process: Note when commands complete in logs

PATCH New Richard Purdie 1 participant 1 message Sep 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 lib/bb/server/process.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/server/process.py +1 -0
index 21f95cb61e..c7cb34f0cc 100644
@@ -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)))
 
Signature · 1 line
2.25.1