From bcfb2150461331f7cfae894b2c9aa99493d39887 Mon Sep 17 00:00:00 2001
From: nrb <freifunk@nicoboehr.de>
Date: Thu, 31 Dec 2020 23:32:19 +0100
Subject: [PATCH] improve messages

---
 ffs-updatetest.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/ffs-updatetest.py b/ffs-updatetest.py
index 3c3481a..dcc66a6 100755
--- a/ffs-updatetest.py
+++ b/ffs-updatetest.py
@@ -68,7 +68,7 @@ def has_gw_connection():
     return result["exitcode"] == 0
 
 def wait_for_gw_connection():
-    logging.debug("Waiting for GW connection")
+    logging.info("Waiting for GW connection")
     for i in range(90):
         try:
             if has_gw_connection():
@@ -106,9 +106,8 @@ def create_snapshot_context():
         delete_snapshot(snap_name)
 
 def run_autoupdate():
-    logging.debug("Forcing autoupdate")
     terminal = spawn_console()
-    logging.debug("executing autoupdater")
+    logging.info("executing autoupdater")
     terminal.sendline("autoupdater -f")
     logging.debug("Waiting for system reboot")
     terminal.expect("Rebooting system")
@@ -120,7 +119,7 @@ def run_autoupdate():
     terminal.sendline()
     terminal.sendline()
     terminal.expect(PROMPT_REGEX)
-    logging.debug("System booted")
+    logging.info("System booted after update")
 
 def assert_release(release_to_assert):
     result = run_in_vm(["cat", "/lib/gluon/release"])
-- 
GitLab