aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-02-17 19:27:36 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-02-17 19:27:36 +0100
commit20fd05b05081ad387e94128b4f26d907808c8f0c (patch)
tree9c2f0bfa200e5f05192a1504d2f34922d2e8cce6 /Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs
parentbedee7922f3be0cd5d1f4f687e9766c1217e39e7 (diff)
Consistently write IP in upercase
Diffstat (limited to 'Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs')
-rw-r--r--Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs b/Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs
index db3917743..279ea70d8 100644
--- a/Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs
+++ b/Jellyfin.Api/Middleware/ResponseTimeMiddleware.cs
@@ -51,9 +51,9 @@ public class ResponseTimeMiddleware
if (enableWarning && responseTimeMs > warningThreshold && _logger.IsEnabled(LogLevel.Debug))
{
_logger.LogDebug(
- "Slow HTTP Response from {Url} to {RemoteIp} in {Elapsed:g} with Status Code {StatusCode}",
+ "Slow HTTP Response from {Url} to {RemoteIP} in {Elapsed:g} with Status Code {StatusCode}",
context.Request.GetDisplayUrl(),
- context.GetNormalizedRemoteIp(),
+ context.GetNormalizedRemoteIP(),
responseTime,
context.Response.StatusCode);
}