Skip to content

Commit

Permalink
[crater] Cleanup logging of cache hits/misses
Browse files Browse the repository at this point in the history
I had these on higher levels than needed during development, but they
should really just all be at TRACE.
  • Loading branch information
cmyr committed Nov 5, 2024
1 parent 06e28af commit abff1c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fontc_crater/src/ci/results_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ impl ResultsCache {
pub fn copy_cached_files_to_build_dir(&self, target: &Target, build_dir: &Path) {
let target_cache_dir = target.cache_dir(&self.base_results_cache_dir);
if !target_cache_dir.exists() {
log::info!("{} does not exist, skipping", target_cache_dir.display());
log::trace!("no cached files for {target}");
return;
}

if copy_cache_files(&target_cache_dir, build_dir).unwrap() {
log::info!("reused cached files for {target}",);
log::trace!("reused cached files for {target}",);
}
}

Expand All @@ -60,7 +60,7 @@ impl ResultsCache {
return;
}
if copy_cache_files(build_dir, &target_cache_dir).unwrap() {
log::debug!("cached files to {}", target_cache_dir.display());
log::trace!("saved cached files for {target}");
}
}
}
Expand Down

0 comments on commit abff1c5

Please sign in to comment.