From 006f3dd88c49b107c0e9bb3e8010009283ec859c Mon Sep 17 00:00:00 2001 From: Craig Rueda Date: Fri, 3 Mar 2023 10:59:16 -0800 Subject: [PATCH] chore(cache): Tuning logging in cache manager (#23266) --- superset/common/utils/query_cache_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/common/utils/query_cache_manager.py b/superset/common/utils/query_cache_manager.py index 76aa5ddef32e3..0954a5092d06a 100644 --- a/superset/common/utils/query_cache_manager.py +++ b/superset/common/utils/query_cache_manager.py @@ -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"] @@ -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(