mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
filter id server TokenValidator error logs
This commit is contained in:
parent
956b1da425
commit
f44419de7b
@ -174,11 +174,6 @@ namespace Bit.Api
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(context.Contains("IdentityServer4.Validation.TokenRequestValidator"))
|
|
||||||
{
|
|
||||||
return e.Level > LogEventLevel.Error;
|
|
||||||
}
|
|
||||||
|
|
||||||
return e.Level >= LogEventLevel.Error;
|
return e.Level >= LogEventLevel.Error;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ namespace Bit.Identity
|
|||||||
loggerFactory.AddSerilog(env, appLifetime, globalSettings, (e) =>
|
loggerFactory.AddSerilog(env, appLifetime, globalSettings, (e) =>
|
||||||
{
|
{
|
||||||
var context = e.Properties["SourceContext"].ToString();
|
var context = e.Properties["SourceContext"].ToString();
|
||||||
if(context.Contains("IdentityServer4.Validation.TokenRequestValidator"))
|
if(context.Contains("IdentityServer4.Validation.TokenValidator"))
|
||||||
{
|
{
|
||||||
return e.Level > LogEventLevel.Error;
|
return e.Level > LogEventLevel.Error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user