diff --git a/scos_actions/calibration/__init__.py b/scos_actions/calibration/__init__.py index 46fe9dbd..14326964 100644 --- a/scos_actions/calibration/__init__.py +++ b/scos_actions/calibration/__init__.py @@ -39,9 +39,9 @@ def get_sensor_calibration(sensor_cal_file: Path) -> Calibration: return sensor_cal -logger.info(f"Loading sensor cal file: {SENSOR_CALIBRATION_FILE}") +logger.debug(f"Loading sensor cal file: {SENSOR_CALIBRATION_FILE}") sensor_calibration = get_sensor_calibration(SENSOR_CALIBRATION_FILE) -logger.info(f"Loading sigan cal file: {SIGAN_CALIBRATION_FILE}") +logger.debug(f"Loading sigan cal file: {SIGAN_CALIBRATION_FILE}") sigan_calibration = get_sigan_calibration(SIGAN_CALIBRATION_FILE) if sensor_calibration: logger.debug(f"Last sensor cal: {sensor_calibration.last_calibration_datetime}") diff --git a/scos_actions/hardware/__init__.py b/scos_actions/hardware/__init__.py index c2a84675..ab11e517 100644 --- a/scos_actions/hardware/__init__.py +++ b/scos_actions/hardware/__init__.py @@ -61,7 +61,7 @@ def load_preselector(preselector_config, module, preselector_class_name): preselector_constructor = getattr(preselector_module, preselector_class_name) ps = preselector_constructor(capabilities["sensor"], preselector_config) if ps and ps.name: - logger.info(f"Registering {ps.name} as status provider") + logger.debug(f"Registering {ps.name} as status provider") register_component_with_status.send(__name__, component=ps) else: ps = None @@ -69,7 +69,7 @@ def load_preselector(preselector_config, module, preselector_class_name): register_component_with_status.connect(status_registration_handler) -logger.info("Connected status registration handler") +logger.debug"Connected status registration handler") preselector = load_preselector_from_file(PRESELECTOR_CONFIG_FILE) switches = load_switches(SWITCH_CONFIGS_DIR) -logger.info(f"Loaded {(len(switches))} switches.") +logger.debug(f"Loaded {(len(switches))} switches.") diff --git a/scos_actions/status/status_registration_handler.py b/scos_actions/status/status_registration_handler.py index 48cc8b46..aed88be3 100644 --- a/scos_actions/status/status_registration_handler.py +++ b/scos_actions/status/status_registration_handler.py @@ -7,7 +7,7 @@ def status_registration_handler(sender, **kwargs): try: - logger.info(f"Registering {sender} as status provider") + logger.debug(f"Registering {sender} as status provider") status_registrar.add_component(kwargs["component"]) except: logger.exception("Error registering status component")