Skip to content

Commit

Permalink
chore(cache): Tuning logging in cache manager (#23266)
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-rueda authored Mar 3, 2023
1 parent 7d8383c commit 006f3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/common/utils/query_cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get(

cache_value = _cache[region].get(key)
if cache_value:
logger.info("Cache key: %s", key)
logger.debug("Cache key: %s", key)
stats_logger.incr("loading_from_cache")
try:
query_cache.df = cache_value["df"]
Expand All @@ -165,7 +165,7 @@ def get(
error_msg_from_exception(ex),
exc_info=True,
)
logger.info("Serving from cache")
logger.debug("Serving from cache")

if force_cached and not query_cache.is_loaded:
logger.warning(
Expand Down

0 comments on commit 006f3dd

Please sign in to comment.