diff --git a/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs b/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs index 2b731639cc..7beb0a4477 100644 --- a/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs @@ -14,6 +14,16 @@ namespace Tgstation.Server.Host.Configuration /// public const string Section = "FileLogging"; + /// + /// Default value for + /// + const LogLevel DefaultLogLevel = LogLevel.Debug; + + /// + /// Default value for + /// + const LogLevel DefaultMicrosoftLogLevel = LogLevel.Warning; + /// /// Where log files are stored /// @@ -28,13 +38,13 @@ namespace Tgstation.Server.Host.Configuration /// The ified minimum to display in logs /// [JsonConverter(typeof(StringEnumConverter))] - public LogLevel LogLevel { get; set; } + public LogLevel LogLevel { get; set; } = DefaultLogLevel; /// /// The ified minimum to display in logs for Microsoft library sources /// [JsonConverter(typeof(StringEnumConverter))] - public LogLevel MicrosoftLogLevel { get; set; } + public LogLevel MicrosoftLogLevel { get; set; } = DefaultMicrosoftLogLevel; } }