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