Log value of weewx.debug at the info level.

Insures it gets seen!
This commit is contained in:
Tom Keffer
2020-05-03 16:16:46 -07:00
parent fa640db878
commit c27dfb41d2

View File

@@ -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