Final polish on v0.7

This commit is contained in:
2021-01-08 19:28:26 -05:00
parent 7fc7012b29
commit 0446098e09
3 changed files with 6 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ namespace JobsJobsJobs.Server
services.AddDbContext<JobsDbContext>(options =>
{
options.UseNpgsql(Configuration.GetConnectionString("JobsDb"), o => o.UseNodaTime());
options.LogTo(System.Console.WriteLine, Microsoft.Extensions.Logging.LogLevel.Information);
// options.LogTo(System.Console.WriteLine, Microsoft.Extensions.Logging.LogLevel.Information);
});
services.AddSingleton<IClock>(SystemClock.Instance);
services.AddLogging();