diff --git a/DDNSUpdater/Logging/SpecterConsoleLoggerConfiguration.cs b/DDNSUpdater/Logging/SpecterConsoleLoggerConfiguration.cs index 8a544e2..0562fc8 100644 --- a/DDNSUpdater/Logging/SpecterConsoleLoggerConfiguration.cs +++ b/DDNSUpdater/Logging/SpecterConsoleLoggerConfiguration.cs @@ -8,6 +8,6 @@ public sealed class SpecterConsoleLoggerConfiguration public Dictionary LogLevelToColorMap { get; set; } = new() { - /*[LogLevel.Information] = ConsoleColor.Green*/ + [LogLevel.Information] = ConsoleColor.DarkGreen }; } \ No newline at end of file diff --git a/DDNSUpdater/Services/DDNSService.cs b/DDNSUpdater/Services/DDNSService.cs index e3e6b04..b3b4dd4 100644 --- a/DDNSUpdater/Services/DDNSService.cs +++ b/DDNSUpdater/Services/DDNSService.cs @@ -45,8 +45,10 @@ public class DDNSService : IDDNSService public async void Start() { _logger.LogInformation("Fetching UpdateURLs"); + UpdateURLs = await GetUpdateURLs(); while (UpdateURLs == null || UpdateURLs.Count == 0 ) { + _logger.LogInformation($"Fetching UpdateURLs again."); UpdateURLs = await GetUpdateURLs(); }