1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

log jobs information

This commit is contained in:
Kyle Spearrin 2018-08-09 16:22:11 -04:00
parent 9a67c4358d
commit e00492b03b

View File

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