We expect this to be refilled with nearly the same amount of entries, so trimming is not really needed
This commit is contained in:
JustArchi
2016-07-08 06:48:38 +02:00
parent 09b2b29ff4
commit 23af6efb4b

View File

@@ -187,7 +187,7 @@ namespace ArchiSteamFarm {
}
private static void InitConsoleLoggers() {
ConsoleLoggingRules.ClearAndTrim();
ConsoleLoggingRules.Clear();
foreach (LoggingRule loggingRule in from loggingRule in LogManager.Configuration.LoggingRules from target in loggingRule.Targets where target is ColoredConsoleTarget || target is ConsoleTarget select loggingRule) {
ConsoleLoggingRules.Add(loggingRule);
}