more service stack logging

pull/702/head
Luke Pulverenti 12 years ago
parent 44ff7167f0
commit dabf257778

@ -105,6 +105,8 @@ namespace MediaBrowser.Server.Implementations.HttpServer
DefaultRedirectPath = defaultRedirectpath;
_logger = logger;
ServiceStack.Logging.LogManager.LogFactory = new NLogFactory();
EndpointHostConfig.Instance.ServiceStackHandlerFactoryPath = null;
EndpointHostConfig.Instance.MetadataRedirectPath = "metadata";
@ -136,8 +138,6 @@ namespace MediaBrowser.Server.Implementations.HttpServer
Plugins.Add(new SwaggerFeature());
Plugins.Add(new CorsFeature());
ServiceStack.Logging.LogManager.LogFactory = new NLogFactory();
ResponseFilters.Add((req, res, dto) =>
{
var exception = dto as Exception;

Loading…
Cancel
Save