This commit is contained in:
Stef Heyenrath
2019-09-19 18:03:15 +02:00
parent feea64b328
commit 9cd16f726f
2 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,6 @@ using WireMock.Util;
using Newtonsoft.Json;
using WireMock.Http;
using WireMock.Owin.Mappers;
using WireMock.ResponseProviders;
using WireMock.Serialization;
using WireMock.Validation;
#if !USE_ASPNETCORE
@@ -100,7 +99,7 @@ namespace WireMock.Owin
return;
}
logRequest = !targetMapping.IsAdminInterface || targetMapping.LogMapping;
logRequest = targetMapping.LogMapping;
if (targetMapping.IsAdminInterface && _options.AuthorizationMatcher != null)
{