wiglenet: Reduce debug logging

This commit is contained in:
Teemu Ikonen
2023-02-12 16:31:28 +02:00
parent c359bc46d1
commit 6454f1d5ee

View File

@@ -387,7 +387,7 @@ class WiglenetResolver(object):
return retrieved, True
else:
# Tile is up to date
log.debug(f'tileupdate: {nettype} {tile=} is current')
# log.debug(f'tileupdate: {nettype} {tile=} is current')
return dbtile['retrieved'], networks_updated
retrieved, networks_updated = await recursive_update(tile, False)
@@ -534,12 +534,12 @@ class WiglenetResolver(object):
else (netd['trilateratedLatitude'], netd['trilateratedLongitude']))
except (TooManyQueriesException, BadResponseError):
netd = None
log.debug(f'Using {hint=}')
# log.debug(f'Using {hint=}')
searchcoords = hint
except aiohttp.ClientError as e:
log.error('Client error on detail query: ' + str(e))
netd = None
log.debug(f'Using {hint=}')
# log.debug(f'Using {hint=}')
searchcoords = hint
finally:
self.detail_lock.release()