diff --git a/src/metabase/query_processor/middleware/cache.clj b/src/metabase/query_processor/middleware/cache.clj index e2797b190123f04316e922663f841478d579c5cd..418798edd2e68825a5de47df123c581c5faa3c21 100644 --- a/src/metabase/query_processor/middleware/cache.clj +++ b/src/metabase/query_processor/middleware/cache.clj @@ -107,7 +107,8 @@ min-duration-ms (:min-duration-ms strategy 0) eligible? (and @has-rows? (> duration-ms min-duration-ms))] - (log/infof "Query took %s to run; minimum for cache eligibility is %s; %s" + (log/infof "Query %s took %s to run; minimum for cache eligibility is %s; %s" + (i/short-hex-hash query-hash) (u/format-milliseconds duration-ms) (u/format-milliseconds min-duration-ms) (if eligible? "eligible" "not eligible"))