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:
1 parent
4e80dcf731
commit
1540146df6
3 files changed
+18
-18
No files matched your search
@@ -1218,7 +1218,7 @@ pub async fn playlist_get_settings(
|
||||
playlist_id: u64,
|
||||
state: State<'_, LibraryState>,
|
||||
) -> Result<Option<PlaylistSettings>, String> {
|
||||
log::info!("Command: playlist_get_settings {}", playlist_id);
|
||||
log::debug!("Command: playlist_get_settings {}", playlist_id);
|
||||
|
||||
let db = state.db.lock().await;
|
||||
db.get_playlist_settings(playlist_id)
|
||||
@@ -1340,7 +1340,7 @@ pub async fn playlist_get_local_tracks_with_position(
|
||||
playlist_id: u64,
|
||||
state: State<'_, LibraryState>,
|
||||
) -> Result<Vec<crate::library::PlaylistLocalTrack>, String> {
|
||||
log::info!("Command: playlist_get_local_tracks_with_position {}", playlist_id);
|
||||
log::debug!("Command: playlist_get_local_tracks_with_position {}", playlist_id);
|
||||
|
||||
let db = state.db.lock().await;
|
||||
db.get_playlist_local_tracks_with_position(playlist_id)
|
||||
@@ -1457,7 +1457,7 @@ pub async fn playlist_get_stats(
|
||||
playlist_id: u64,
|
||||
state: State<'_, LibraryState>,
|
||||
) -> Result<Option<PlaylistStats>, String> {
|
||||
log::info!("Command: playlist_get_stats {}", playlist_id);
|
||||
log::debug!("Command: playlist_get_stats {}", playlist_id);
|
||||
|
||||
let db = state.db.lock().await;
|
||||
db.get_playlist_stats(playlist_id)
|
||||
|
||||
Reference in new issue
Block a user