Output date filter from cache log at debug level. Remove unused imports

Other logs not directly useful to user have already been converted
to debug log levels in 1ae4016. Just forgot to convert this log line too
This commit is contained in:
Debanjum Singh Solanky
2023-03-02 15:38:09 -06:00
parent c823f46d89
commit 211e460398
4 changed files with 1 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
# Standard Packages
import re
import time
import logging
from collections import defaultdict
from datetime import timedelta, datetime
@@ -67,7 +66,7 @@ class DateFilter(BaseFilter):
# return results from cache if exists
cache_key = tuple(query_daterange)
if cache_key in self.cache:
logger.info(f"Return date filter results from cache")
logger.debug(f"Return date filter results from cache")
entries_to_include = self.cache[cache_key]
return query, entries_to_include

View File

@@ -1,7 +1,6 @@
# Standard Packages
import re
import fnmatch
import time
import logging
from collections import defaultdict

View File

@@ -1,6 +1,5 @@
# Standard Packages
import re
import time
import logging
from collections import defaultdict

View File

@@ -1,5 +1,4 @@
# System Packages
from copy import deepcopy
from pathlib import Path
# External Packages