Skip to content

Commit a33b961

Browse files
committed
Tuning logging in cache manager
1 parent 9d0eea9 commit a33b961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

superset/common/utils/query_cache_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def get(
141141

142142
cache_value = _cache[region].get(key)
143143
if cache_value:
144-
logger.info("Cache key: %s", key)
144+
logger.debug("Cache key: %s", key)
145145
stats_logger.incr("loading_from_cache")
146146
try:
147147
query_cache.df = cache_value["df"]
@@ -165,7 +165,7 @@ def get(
165165
error_msg_from_exception(ex),
166166
exc_info=True,
167167
)
168-
logger.info("Serving from cache")
168+
logger.debug("Serving from cache")
169169

170170
if force_cached and not query_cache.is_loaded:
171171
logger.warning(

0 commit comments

Comments
 (0)