mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Log when requests are blocked
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user