mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
Consistently write IP in upercase
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user