diff --git a/app.py b/app.py index ea728a4..e441d51 100644 --- a/app.py +++ b/app.py @@ -78,8 +78,10 @@ def main(): # wait for the next update time if current_ip != socket.gethostbyname(host_name): + logging.debug('Check ip : Done') current_ip = socket.gethostbyname(host_name) keys = redis.keys('producer_*') + logging.debug('Get producer list from redis: Done') for key in keys: ip = redis.get(key) if not ip: