diff mbox series

[1/2] cooker: Add debug for parsing being complete

Message ID 20250310145819.2869616-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 1aa491c1f1211bf9faab712c321b66629fb7be66
Headers show
Series [1/2] cooker: Add debug for parsing being complete | expand

Commit Message

Richard Purdie March 10, 2025, 2:58 p.m. UTC
We have a "parsing started" event in the cooker deamon log but we don't
currently log the corresponding "parsing complete" event which is
confusing. Add this so that the logs are more logical.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index e21815daad..1810bcc604 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1636,6 +1636,7 @@  You can also remove the BB_HASHSERVE_UPSTREAM setting, but this may result in si
         self.state = State.PARSING
 
         if not self.parser.parse_next():
+            bb.server.process.serverlog("Parsing completed")
             collectlog.debug("parsing complete")
             if self.parser.error:
                 raise bb.BBHandledException()