aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-08 21:24:48 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-08 21:24:48 -0500
commit41ed3c15ffee7430b0718114bc7732f354198fb7 (patch)
tree00d426fd355a6bb0a0d1ac5276034691349b5f59 /MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs
parentd7c25fa53f636d9882b6fd77bc877fc71ddd8902 (diff)
fixed service stack logging
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs b/MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs
index 57acddc43..c403c09b4 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/ServerFactory.cs
@@ -1,6 +1,7 @@
using MediaBrowser.Common;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.Logging;
+using ServiceStack.Logging;
namespace MediaBrowser.Server.Implementations.HttpServer
{
@@ -20,6 +21,8 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// <returns>IHttpServer.</returns>
public static IHttpServer CreateServer(IApplicationHost applicationHost, ILogManager logManager, string serverName, string handlerPath, string defaultRedirectpath)
{
+ LogManager.LogFactory = new ServerLogFactory(logManager);
+
return new HttpListenerHost(applicationHost, logManager, serverName, handlerPath, defaultRedirectpath);
}
}