Skip to content

Commit ec5c724

Browse files
committed
SAGE-1292: log the config on start
1 parent 7370683 commit ec5c724

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ROOTFS/usr/bin/waggle_network_watchdog.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ def read_network_watchdog_config(filename):
117117
soft_reset_settings = read_config_section_dict(filename, "soft-reboot")
118118
hard_reset_settings = read_config_section_dict(filename, "hard-reboot")
119119

120+
logging.info(f"Config [all]: {all_settings}")
121+
logging.info(f"Config [network-reboot]: {network_reset_settings}")
122+
logging.info(f"Config [soft-reboot]: {soft_reset_settings}")
123+
logging.info(f"Config [hard-reboot]: {hard_reset_settings}")
124+
120125
sd_card_storage_loc = ""
121126
if read_current_media() == MEDIA_SD:
122127
sd_card_storage_loc = all_settings.get("sd_card_storage_loc", None)

0 commit comments

Comments
 (0)