chore: move suggestions engine logs to debug level

Keep only start/result summary at INFO for user issue reports.
Move all intermediate steps (MBID resolution, config, engine steps) to DEBUG.

Also moved to debug:
- playlist_get_settings, playlist_get_stats
- playlist_get_local_tracks_with_position
- All [SuggestionsEngine] step logs
This commit is contained in:
vicrodh committed 2026-02-02 21:55:11 -06:00
1 parent 4e80dcf731
commit 1540146df6
3 files changed
+18 -18

No files matched your search

@@ -142,7 +142,7 @@ pub async fn get_playlist_suggestions_v2(
}
let resolve_elapsed = resolve_start.elapsed();
log::info!(
log::debug!(
"[Suggestions] MBID resolution took {:?}: {} cached, {} resolved, {} skipped (skip_network={})",
resolve_elapsed,
cached_count,
@@ -171,7 +171,7 @@ pub async fn get_playlist_suggestions_v2(
));
// Log config (already extracted above for skip_network check)
log::info!("[Suggestions] Config: max_artists={}, tracks_per={}, pool_size={}, skip_build={}",
log::debug!("[Suggestions] Config: max_artists={}, tracks_per={}, pool_size={}, skip_build={}",
config.max_artists, config.tracks_per_artist, config.max_pool_size, config.skip_vector_build);
let engine = SuggestionsEngine::new(
@@ -185,7 +185,7 @@ pub async fn get_playlist_suggestions_v2(
let exclude_set: HashSet<u64> = input.exclude_track_ids.into_iter().collect();
// Generate suggestions
log::info!("[Suggestions] Calling engine.generate_suggestions with {} artists", artist_info.len());
log::debug!("[Suggestions] Calling engine.generate_suggestions with {} artists", artist_info.len());
let engine_start = std::time::Instant::now();
let result = engine