diff --git a/ad_tasks.py b/ad_tasks.py index e7d8020..73ead7c 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -27,7 +27,7 @@ def get_area_by_locationid(ldid): if data: return data[0][0].replace("[", "").replace("]", "").replace('"', "") else: - log.error(f"get area from location failed!,sql={sql}") + log.error(f"get area from location failed!,sql={sql},idld={ldid}") return area @@ -184,7 +184,7 @@ def send_cache_data(): if my_redis.sismember(key, values): my_redis.srem(key, values) my_redis.expire(f"adinfo::{values}::info", 1) - log.info(f"remove {id} from {key} success!") + #log.info(f"remove {id} from {key} success!") except Exception: log.error("拆解过期数据出错!", exc_info=True)