This commit is contained in:
Ruben van de Ven 2019-11-02 20:49:57 +01:00
parent 3111d2cc85
commit 8971618982
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ class CentralManagement():
-
"""
#TODO: make level debug()
self.logger.warn(f"SIGNAL: {signal}")
self.logger.info(f"SIGNAL: {signal}")
if signal.name == 'start':
self.makeHit()
pass

View file

@ -315,7 +315,7 @@ class DrawPageHandler(tornado.web.RequestHandler):
try:
geoip = self.geoip_reader.country(ip)
logger.info(f"Geo {geoip}")
logger.debug(f"Geo {geoip}")
self.eventQ.put(Signal('hit.info', dict(hit_id=hit.id, location=geoip.country.name)))
except Exception as e:
logger.exception(e)