Permalink
Browse files

log4net is a sucker that is embedded with TopShelf, so I added it

  • Loading branch information...
1 parent 3f6f402 commit a5e1387d6911f918d1aedd8ebc8dde2ebee1f054 @haf committed Mar 23, 2012
@@ -46,6 +46,9 @@
<Reference Include="EventStore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=7735eb81c0bd9948, processorArchitecture=MSIL">
<HintPath>..\packages\EventStore.3.0.11326.44\lib\net40\EventStore.dll</HintPath>
</Reference>
+ <Reference Include="log4net">
+ <HintPath>..\packages\log4net.1.2.11\lib\net40-full\log4net.dll</HintPath>
+ </Reference>
<Reference Include="Magnum, Version=2.0.0.4, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Magnum.2.0.0.4\lib\NET40\Magnum.dll</HintPath>
@@ -6,6 +6,7 @@
using MassTransit;
using NLog;
using Topshelf;
+using log4net.Config;
namespace Documently.Domain.Service
{
@@ -36,6 +37,7 @@ public static void Main(string[] args)
private void Start()
{
+ BasicConfigurator.Configure(); // for TopShelf until it upgrades
NLog.Config.SimpleConfigurator.ConfigureForConsoleLogging();
_logger.Info("setting up domain service, installing components");
@@ -4,6 +4,7 @@
<package id="Castle.Windsor" version="3.0.0.4001" />
<package id="EventStore" version="3.0.11326.44" />
<package id="EventStore.Persistence.Raven" version="2.0.11157" />
+ <package id="log4net" version="1.2.11" />
<package id="Magnum" version="2.0.0.4" />
<package id="MassTransit" version="2.1.0" />
<package id="MassTransit.CastleWindsor" version="2.1.0" />
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

0 comments on commit a5e1387

Please sign in to comment.