Skip to content

Commit

Permalink
bugfix: change log to info
Browse files Browse the repository at this point in the history
  • Loading branch information
kim committed Jan 11, 2025
1 parent 86915dd commit ed8cfe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asf_search/search/search_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def search_generator(
last_page = process_page(
items, maxResults, subquery_max_results, total, subquery_count, opts
)
ASF_LOGGER.log(f'Page Processing Time {time.time() - perf}')
ASF_LOGGER.info(f'Page Processing Time {time.time() - perf}')
subquery_count += len(last_page)
total += len(last_page)
last_page.searchComplete = subquery_count == subquery_max_results or total == maxResults
Expand Down Expand Up @@ -354,7 +354,7 @@ def get_page(session: ASFSession, url: str, translated_opts: List) -> Response:
f'Connection Error (Timeout): CMR took too long to respond. Set asf constant "asf_search.constants.INTERNAL.CMR_TIMEOUT" to increase. ({url=}, timeout={CMR_TIMEOUT})'
) from exc

ASF_LOGGER.log(f'Query Time Elapsed {time.time() - perf}')
ASF_LOGGER.info(f'Query Time Elapsed {time.time() - perf}')
return response


Expand Down

0 comments on commit ed8cfe9

Please sign in to comment.