From c27dfb41d2c4e69abec770fe3f72c0efb2c5289c Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Sun, 3 May 2020 16:16:46 -0700 Subject: [PATCH] Log value of weewx.debug at the info level. Insures it gets seen! --- bin/weewxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/weewxd b/bin/weewxd index a0c01580..7b3e7e9f 100755 --- a/bin/weewxd +++ b/bin/weewxd @@ -127,9 +127,9 @@ def main(): print(e, file=sys.stderr) sys.exit(weewx.CMD_ERROR) - weewx.debug = int(config_dict.get('debug', 0)) log.info("Using configuration file %s", config_path) - log.debug("Debug is %s", weewx.debug) + weewx.debug = int(config_dict.get('debug', 0)) + log.info("Debug is %s", weewx.debug) # Now that we have the config_dict and debug setting, we can customize the # logging with user additions