mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(directory): ✨ temp enable sensitive data logging to aid contributors in finding json data bugs
This commit is contained in:
parent
4e5cfc0f68
commit
7b680d33b1
1 changed files with 6 additions and 1 deletions
|
|
@ -10,8 +10,13 @@ public static class ServiceCollectionExtension
|
|||
public static void AddInfrastructureServices(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.AddDbContextPool<QueryDbContext>(o =>
|
||||
{
|
||||
o.UseNpgsql(configuration.GetConnectionString("DirectoryConnection"),
|
||||
po => po.MigrationsAssembly("FilterLists.Directory.Infrastructure.Migrations")));
|
||||
po => po.MigrationsAssembly("FilterLists.Directory.Infrastructure.Migrations"));
|
||||
|
||||
// TODO: disable after https://github.com/collinbarrett/FilterLists/issues/372
|
||||
o.EnableSensitiveDataLogging();
|
||||
});
|
||||
services.AddScoped<IQueryContext, QueryContext>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue