mirror of
https://github.com/weewx/weewx.git
synced 2026-05-24 09:46:19 -04:00
prefix examples process name with wee
This commit is contained in:
@@ -251,7 +251,7 @@ Arguments:
|
||||
print("Using configuration file %s" % config_path)
|
||||
|
||||
# Set logging configuration:
|
||||
weeutil.logger.setup('alarm', config_dict)
|
||||
weeutil.logger.setup('wee_alarm', config_dict)
|
||||
|
||||
if 'Alarm' not in config_dict:
|
||||
exit("No [Alarm] section in the configuration file %s" % config_path)
|
||||
|
||||
@@ -253,7 +253,7 @@ Arguments:
|
||||
print("Using configuration file %s" % config_path)
|
||||
|
||||
# Set logging configuration:
|
||||
weeutil.logger.setup('lowBattery', config_dict)
|
||||
weeutil.logger.setup('wee_lowBattery', config_dict)
|
||||
|
||||
if 'Alarm' not in config_dict:
|
||||
exit("No [Alarm] section in the configuration file %s" % config_path)
|
||||
|
||||
Reference in New Issue
Block a user