Ignore EFCore SensitiveDataLoggingEnabledWarning
This commit is contained in:
parent
89833ce709
commit
0b8233909c
|
|
@ -37,6 +37,10 @@ namespace Content.Server.Database
|
|||
options.ConfigureWarnings(x =>
|
||||
{
|
||||
x.Ignore(CoreEventId.ManyServiceProvidersCreatedWarning);
|
||||
#if DEBUG
|
||||
// for tests
|
||||
x.Ignore(CoreEventId.SensitiveDataLoggingEnabledWarning);
|
||||
#endif
|
||||
});
|
||||
|
||||
#if DEBUG
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@ namespace Content.Server.Database
|
|||
options.ConfigureWarnings(x =>
|
||||
{
|
||||
x.Ignore(CoreEventId.ManyServiceProvidersCreatedWarning);
|
||||
#if DEBUG
|
||||
// for tests
|
||||
x.Ignore(CoreEventId.SensitiveDataLoggingEnabledWarning);
|
||||
#endif
|
||||
});
|
||||
|
||||
#if DEBUG
|
||||
|
|
|
|||
Loading…
Reference in New Issue