From c99efc98964833470023df6485d68210b6c83753 Mon Sep 17 00:00:00 2001 From: saile2204 Date: Mon, 20 Mar 2023 21:25:18 +0100 Subject: [PATCH] Changed Log Color --- DDNSUpdater/Program.cs | 2 +- DDNSUpdater/Services/DDNSService.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/DDNSUpdater/Program.cs b/DDNSUpdater/Program.cs index 9f7ab87..1941b29 100644 --- a/DDNSUpdater/Program.cs +++ b/DDNSUpdater/Program.cs @@ -38,7 +38,7 @@ var serviceProvider = new ServiceCollection() { // Replace warning value from appsettings.json of "Cyan" configuration.LogLevelToColorMap[LogLevel.Warning] = ConsoleColor.DarkCyan; - configuration.LogLevelToColorMap[LogLevel.Debug] = ConsoleColor.Yellow; + configuration.LogLevelToColorMap[LogLevel.Debug] = ConsoleColor.DarkYellow; // Replace warning value from appsettings.json of "Red" configuration.LogLevelToColorMap[LogLevel.Error] = ConsoleColor.DarkRed; }); diff --git a/DDNSUpdater/Services/DDNSService.cs b/DDNSUpdater/Services/DDNSService.cs index 9230487..830e07d 100644 --- a/DDNSUpdater/Services/DDNSService.cs +++ b/DDNSUpdater/Services/DDNSService.cs @@ -54,7 +54,6 @@ public class DDNSService : IDDNSService UpdateURLs = await GetUpdateURLs(); while (UpdateURLs == null || UpdateURLs.Count == 0 ) { - _logger.LogInformation($"Fetching UpdateURLs again."); UpdateURLs = await GetUpdateURLs(); }