Ignore EFCore SensitiveDataLoggingEnabledWarning

This commit is contained in:
DrSmugleaf
2022-01-02 00:33:29 +01:00
parent 89833ce709
commit 0b8233909c
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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