1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

recompile user delete sproc and extend timeout. filer out security stamp errors from logger.

This commit is contained in:
Kyle Spearrin
2016-10-29 02:59:17 -04:00
parent 8eb545a37c
commit 6f636603fb
3 changed files with 19 additions and 2 deletions

View File

@ -162,7 +162,16 @@ namespace Bit.Api
if(!env.IsDevelopment())
{
loggerFactory.AddLoggr(
LogLevel.Error,
(category, logLevel, eventId) =>
{
// Bad security stamp exception
if(category == typeof(JwtBearerMiddleware).FullName && eventId.Id == 3 && logLevel == LogLevel.Error)
{
return false;
}
return logLevel >= LogLevel.Error;
},
globalSettings.Loggr.LogKey,
globalSettings.Loggr.ApiKey);
}