Hi, i have a problem when using seq-requestlogger with netcore.
my setting is like below
Plugins.Add(new SeqRequestLogsFeature
{
SeqUrl = "http://localhost:5341",
EnableRequestBodyTracking = true,
EnableResponseTracking = true,
EnableSessionTracking = true,
ExcludeRequestDtoTypes = new[] { typeof(SeqRequestLogConfig), typeof(ImageUploadDto) },
HideRequestBodyForRequestDtoTypes = new[] { typeof(SeqRequestLogConfig), typeof(ImageUploadDto) },
AppendProperties = (request, dto, response, duration) => new Dictionary<string, object> { { "System", "Mobile.Lis" } }
,
SkipLogging = (request) => {
var skip = request.OperationName == typeof(ImageUploadDto).GetOperationName();
return skip; }
});
and when i upload file via ImageUploadDto, it will thown an error:
Unexpected end of Stream, the content may have already been read by another component.
searched a while and find answer from ServiceStack Forum:
https://forums.servicestack.net/t/unexpected-end-of-stream-when-uploading-to-aspnet-core/6478/9
ServiceStack/ServiceStack@166e785
i will clone this repo give a try, it looks like netcore's issue with form data.
Hi, i have a problem when using seq-requestlogger with netcore.
my setting is like below
and when i upload file via ImageUploadDto, it will thown an error:
searched a while and find answer from ServiceStack Forum:
https://forums.servicestack.net/t/unexpected-end-of-stream-when-uploading-to-aspnet-core/6478/9
ServiceStack/ServiceStack@166e785
i will clone this repo give a try, it looks like netcore's issue with form data.