diff --git a/bluetooth_2_usb.py b/bluetooth_2_usb.py index a00285ab..5505a3c8 100755 --- a/bluetooth_2_usb.py +++ b/bluetooth_2_usb.py @@ -24,7 +24,7 @@ def signal_handler(sig, frame): sig_name = signal.Signals(sig).name - logger.info(f"Received signal: {sig_name}. Requesting graceful shutdown.") + logger.debug(f"Received signal: {sig_name}. Requesting graceful shutdown.") shutdown_event.set() @@ -78,7 +78,7 @@ async def main() -> None: await shutdown_event.wait() - logger.info("Shutdown event triggered. Cancelling relay task...") + logger.debug("Shutdown event triggered. Cancelling relay task...") relay_task.cancel() await asyncio.gather(relay_task, return_exceptions=True) diff --git a/src/bluetooth_2_usb/relay.py b/src/bluetooth_2_usb/relay.py index 435a1e76..6cb33cb7 100644 --- a/src/bluetooth_2_usb/relay.py +++ b/src/bluetooth_2_usb/relay.py @@ -157,7 +157,7 @@ async def async_relay_devices(self) -> None: ) finally: self._task_group = None - _logger.info("RelayController: TaskGroup exited.") + _logger.debug("RelayController: TaskGroup exited.") def add_device(self, device_path: str) -> None: """