diff --git a/ModTek/Features/Logging/LoggingSettings.cs b/ModTek/Features/Logging/LoggingSettings.cs index 6f9900a..aef6cbe 100644 --- a/ModTek/Features/Logging/LoggingSettings.cs +++ b/ModTek/Features/Logging/LoggingSettings.cs @@ -97,7 +97,10 @@ internal class LoggingSettings [JsonProperty] internal const string MainLog_Description = "The main log."; [JsonProperty(Required = Required.Always)] - internal AppenderSettings MainLog = new(); + internal AppenderSettings MainLog = new() + { + Excludes = [ new FilterSettings { LoggerNames = ["HarmonyX" ] } ] + }; [JsonProperty(Required = Required.Always)] internal string MainLogFilePath = "battletech_log.txt"; diff --git a/ModTek/ModTek.csproj b/ModTek/ModTek.csproj index 94055d2..f83ce48 100644 --- a/ModTek/ModTek.csproj +++ b/ModTek/ModTek.csproj @@ -95,6 +95,12 @@ + + + + + +