From 181ca95cb10cde8fd3f40197dd27fdccbae79458 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 24 Apr 2020 16:05:38 -0400 Subject: [PATCH] Okay remove this --- .../Core/ServerPortProivder.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/Tgstation.Server.Host/Core/ServerPortProivder.cs b/src/Tgstation.Server.Host/Core/ServerPortProivder.cs index 02de421de9..ee81825d91 100644 --- a/src/Tgstation.Server.Host/Core/ServerPortProivder.cs +++ b/src/Tgstation.Server.Host/Core/ServerPortProivder.cs @@ -21,24 +21,6 @@ namespace Tgstation.Server.Host.Core if (configuration == null) throw new ArgumentNullException(nameof(configuration)); - // Log the active configuration. - logger.LogInformation("Active Config:"); - - void LogSection(IConfigurationSection section, string prefix) - { - prefix = $"{prefix}{section.Key}:"; - if (section.Value != null) - logger.LogInformation("{0} {1}", prefix, section.Value); - else - { - foreach (var child in section.GetChildren()) - LogSection(child, prefix); - } - } - - foreach (var section in configuration.GetChildren()) - LogSection(section, String.Empty); - var httpEndpoint = configuration .GetSection("Kestrel") .GetSection("EndPoints")