From e00492b03b71dbefab2eac9e3ab9090e7ea9cf63 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 9 Aug 2018 16:22:11 -0400 Subject: [PATCH] log jobs information --- src/Api/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Api/Startup.cs b/src/Api/Startup.cs index 0e4c21826..84a4dda61 100644 --- a/src/Api/Startup.cs +++ b/src/Api/Startup.cs @@ -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; }