mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Log when requests are blocked
This commit is contained in:
parent
13a51e907b
commit
b03e323e78
@ -182,6 +182,12 @@ namespace Bit.Api
|
||||
return false;
|
||||
}
|
||||
|
||||
// IP blocks
|
||||
if(category == typeof(IpRateLimitMiddleware).FullName && logLevel >= LogLevel.Information)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return logLevel >= LogLevel.Error;
|
||||
},
|
||||
globalSettings.Loggr.LogKey,
|
||||
|
Loading…
Reference in New Issue
Block a user