diff options
Diffstat (limited to 'src/bot.rs')
| -rw-r--r-- | src/bot.rs | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -502,7 +502,7 @@ pub async fn run() -> anyhow::Result<()> { loop { ticker.tick().await; - tracing::debug!("running songbird info gc"); + tracing::trace!("running songbird info gc"); let Some(songbird) = ({ let data = client_data.read().await; @@ -535,11 +535,19 @@ pub async fn run() -> anyhow::Result<()> { result }); - tracing::debug!( - queued_tracks = active_uuids.len(), - n_gced = n_removed, - "songbird info gc done" - ); + if n_removed > 0 { + tracing::debug!( + queued_tracks = active_uuids.len(), + n_gced = n_removed, + "songbird info gc done" + ); + } else { + tracing::trace!( + queued_tracks = active_uuids.len(), + n_gced = n_removed, + "songbird info gc done" + ); + } } }); |
