diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-12-13 14:36:09 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-12-13 14:36:09 -0600 |
| commit | fc1aecbe54b0077d0fde20f9f8e6350312344692 (patch) | |
| tree | 28550397469db709a5255cf724b0e186d212d477 /src/slskd/Common/Authentication/ApiKeyAuthentication.cs | |
| parent | 848262831fe6281d448afd3bdcf802bbc643fbd1 (diff) | |
| download | slskd-fc1aecbe54b0077d0fde20f9f8e6350312344692.tar.gz | |
tweak logging
Diffstat (limited to 'src/slskd/Common/Authentication/ApiKeyAuthentication.cs')
| -rw-r--r-- | src/slskd/Common/Authentication/ApiKeyAuthentication.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs index fb209478..e2733442 100644 --- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs +++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs @@ -88,7 +88,7 @@ namespace slskd.Authentication } catch (Exception ex) { - Log.Warning(ex, "Unauthorized: {Message}", ex.Message); + Log.Warning("Unauthorized request from IP address {IP}: {Message}", Request.HttpContext.Connection.RemoteIpAddress, ex.Message); return AuthenticateResult.Fail(ex); } } |
