From f764d1b4fbb7c681683e2cc95ef86a4ec60d80c7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 29 Apr 2023 23:18:12 +0200 Subject: [PATCH] Noisy Bluetooth beacons notices should be logged on info level. --- platypush/plugins/bluetooth/_ble/_event_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/bluetooth/_ble/_event_handler.py b/platypush/plugins/bluetooth/_ble/_event_handler.py index 08ef1e94e..c68a90cb6 100644 --- a/platypush/plugins/bluetooth/_ble/_event_handler.py +++ b/platypush/plugins/bluetooth/_ble/_event_handler.py @@ -156,14 +156,14 @@ class EventHandler: new_entity = device_to_entity(device, data) if self._exclude_known_noisy_beacons and self._is_noisy_beacon(new_entity): - logger.debug( + logger.info( 'exclude_known_noisy_beacons is set to True: skipping beacon from device %s', device.address, ) return if self._blacklist.matches(new_entity): - logger.debug('Ignoring blacklisted device: %s', device.address) + logger.info('Ignoring blacklisted device: %s', device.address) return # Extend the new entity with children entities added by the plugins