forked from platypush/platypush
Noisy Bluetooth beacons notices should be logged on info level.
This commit is contained in:
parent
52f036dc1d
commit
f764d1b4fb
1 changed files with 2 additions and 2 deletions
|
@ -156,14 +156,14 @@ class EventHandler:
|
||||||
|
|
||||||
new_entity = device_to_entity(device, data)
|
new_entity = device_to_entity(device, data)
|
||||||
if self._exclude_known_noisy_beacons and self._is_noisy_beacon(new_entity):
|
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',
|
'exclude_known_noisy_beacons is set to True: skipping beacon from device %s',
|
||||||
device.address,
|
device.address,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
if self._blacklist.matches(new_entity):
|
if self._blacklist.matches(new_entity):
|
||||||
logger.debug('Ignoring blacklisted device: %s', device.address)
|
logger.info('Ignoring blacklisted device: %s', device.address)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Extend the new entity with children entities added by the plugins
|
# Extend the new entity with children entities added by the plugins
|
||||||
|
|
Loading…
Reference in a new issue