aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/FileWriter.cs
diff options
context:
space:
mode:
authorErik Larsson <who+github@cnackers.org>2019-09-18 18:29:15 +0200
committerErik Larsson <who+github@cnackers.org>2019-09-18 18:29:15 +0200
commit74864832ca592338a2e8a20bd1f64142acd0b1a8 (patch)
tree544fb22bb54eebf450df2802b0c7aad3dddcf0a3 /Emby.Server.Implementations/HttpServer/FileWriter.cs
parent9c95eba5a10c2d1a7d917eaaf3c8a723d1de87b6 (diff)
Set log level to debug for HTTP range requests
This removes some spam when a DLNA renderer uses byte seeking.
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/FileWriter.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/FileWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/FileWriter.cs b/Emby.Server.Implementations/HttpServer/FileWriter.cs
index 2890cca7c..2c7e81361 100644
--- a/Emby.Server.Implementations/HttpServer/FileWriter.cs
+++ b/Emby.Server.Implementations/HttpServer/FileWriter.cs
@@ -181,7 +181,7 @@ namespace Emby.Server.Implementations.HttpServer
var rangeString = $"bytes {RangeStart}-{RangeEnd}/{TotalContentLength}";
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)