Merge pull request #979 from GSA/notify-api-956

Remove log statement from s3.py
This commit is contained in:
Carlo Costino
2024-05-13 11:21:23 -04:00
committed by GitHub
2 changed files with 3 additions and 9 deletions

View File

@@ -82,9 +82,6 @@ def incr_jobs_cache_misses():
redis_store.set(JOBS_CACHE_MISSES, 1)
else:
redis_store.incr(JOBS_CACHE_MISSES)
hits = redis_store.get(JOBS_CACHE_HITS).decode("utf-8")
misses = redis_store.get(JOBS_CACHE_MISSES).decode("utf-8")
current_app.logger.debug(f"JOBS CACHE MISS hits {hits} misses {misses}")
def incr_jobs_cache_hits():
@@ -92,9 +89,6 @@ def incr_jobs_cache_hits():
redis_store.set(JOBS_CACHE_HITS, 1)
else:
redis_store.incr(JOBS_CACHE_HITS)
hits = redis_store.get(JOBS_CACHE_HITS).decode("utf-8")
misses = redis_store.get(JOBS_CACHE_MISSES).decode("utf-8")
current_app.logger.debug(f"JOBS CACHE HIT hits {hits} misses {misses}")
def extract_phones(job):
@@ -102,7 +96,6 @@ def extract_phones(job):
first_row = job[0]
job.pop(0)
first_row = first_row.split(",")
current_app.logger.info(f"HEADERS {first_row}")
phone_index = 0
for item in first_row:
# Note: may contain a BOM and look like \ufeffphone number