mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 01:26:56 -04:00
Log value of weewx.debug at the info level.
Insures it gets seen!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user