1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 00:03:54 +00:00

adjusted serilog inclusion predicate with bypassid

This commit is contained in:
Kyle Spearrin
2018-08-15 10:54:15 -04:00
parent 6b4605e228
commit 25899fd326
8 changed files with 51 additions and 26 deletions

View File

@@ -141,9 +141,7 @@ namespace Bit.Api
return false;
}
if(e.Level == LogEventLevel.Information &&
(context.Contains(typeof(IpRateLimitMiddleware).FullName) ||
context.StartsWith("\"Bit.Api.Jobs") || context.StartsWith("\"Bit.Core.Jobs")))
if(e.Level == LogEventLevel.Information && context.Contains(typeof(IpRateLimitMiddleware).FullName))
{
return true;
}