wiglenet: Reduce debug logging
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user