From 8e7fc8b4effe306d994e2ad0eee7449b48922ccc Mon Sep 17 00:00:00 2001 From: Josh Patra Date: Tue, 3 Feb 2026 14:31:28 -0500 Subject: [PATCH] Add info-level logging for Spotify auth debugging --- allstarr/Services/Spotify/SpotifyApiClient.cs | 2 +- allstarr/Services/Spotify/SpotifyPlaylistFetcher.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/allstarr/Services/Spotify/SpotifyApiClient.cs b/allstarr/Services/Spotify/SpotifyApiClient.cs index 0af1dad..dff2f8a 100644 --- a/allstarr/Services/Spotify/SpotifyApiClient.cs +++ b/allstarr/Services/Spotify/SpotifyApiClient.cs @@ -111,7 +111,7 @@ public class SpotifyApiClient : IDisposable return _webAccessToken; } - _logger.LogDebug("Fetching new Spotify web access token using TOTP authentication"); + _logger.LogInformation("Fetching new Spotify web access token using TOTP authentication"); // Fetch TOTP secrets if needed var totpSecret = await GetTotpSecretAsync(cancellationToken); diff --git a/allstarr/Services/Spotify/SpotifyPlaylistFetcher.cs b/allstarr/Services/Spotify/SpotifyPlaylistFetcher.cs index 1c64594..5f6ef34 100644 --- a/allstarr/Services/Spotify/SpotifyPlaylistFetcher.cs +++ b/allstarr/Services/Spotify/SpotifyPlaylistFetcher.cs @@ -211,6 +211,7 @@ public class SpotifyPlaylistFetcher : BackgroundService } // Verify authentication + _logger.LogInformation("Attempting Spotify authentication..."); var (success, userId, displayName) = await _spotifyClient.GetCurrentUserAsync(stoppingToken); if (!success) {