From c07596dbb4672ab1c0959d4db717c5e51b77df10 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 27 Sep 2013 17:52:59 -0400 Subject: [PATCH] fixed http response logging --- MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs index 4f795fdd5f..2ef9bed9fc 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs @@ -357,11 +357,11 @@ namespace MediaBrowser.Server.Implementations.HttpServer { try { - ProcessRequest(context); - var url = context.Request.Url.ToString(); var endPoint = context.Request.RemoteEndPoint; + ProcessRequest(context); + var duration = DateTime.Now - date; LogResponse(context, url, endPoint, duration);