Set log level to debug for HTTP range requests

This removes some spam when a DLNA renderer uses byte seeking.
pull/1768/head
Erik Larsson 5 years ago
parent 9c95eba5a1
commit 74864832ca

@ -181,7 +181,7 @@ namespace Emby.Server.Implementations.HttpServer
var rangeString = $"bytes {RangeStart}-{RangeEnd}/{TotalContentLength}"; var rangeString = $"bytes {RangeStart}-{RangeEnd}/{TotalContentLength}";
Headers[HeaderNames.ContentRange] = rangeString; Headers[HeaderNames.ContentRange] = rangeString;
_logger.LogInformation("Setting range response values for {0}. RangeRequest: {1} Content-Length: {2}, Content-Range: {3}", Path, RangeHeader, lengthString, rangeString); _logger.LogDebug("Setting range response values for {0}. RangeRequest: {1} Content-Length: {2}, Content-Range: {3}", Path, RangeHeader, lengthString, rangeString);
} }
public async Task WriteToAsync(HttpResponse response, CancellationToken cancellationToken) public async Task WriteToAsync(HttpResponse response, CancellationToken cancellationToken)

Loading…
Cancel
Save