Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Weichhold committed Mar 22, 2018
1 parent 85133e4 commit 70df189
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/MiningCore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
using NLog.Config;
using NLog.Layouts;
using NLog.Targets;
using NLog.Targets.Wrappers;
using JsonSerializer = Newtonsoft.Json.JsonSerializer;

namespace MiningCore
Expand Down Expand Up @@ -458,7 +457,7 @@ private static void ConfigureLogging()
Layout = layout
};

loggingConfig.AddTarget("async", new AsyncTargetWrapper(target));
loggingConfig.AddTarget(target);
loggingConfig.AddRule(level, LogLevel.Fatal, target);
}

Expand All @@ -473,7 +472,7 @@ private static void ConfigureLogging()
Layout = layout
};

loggingConfig.AddTarget("async", new AsyncTargetWrapper(target));
loggingConfig.AddTarget(target);
loggingConfig.AddRule(level, LogLevel.Fatal, target, poolConfig.Id);
}
}
Expand Down

0 comments on commit 70df189

Please sign in to comment.