Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cache): Tuning logging in cache manager #23266

Merged
merged 1 commit into from
Mar 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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