Comment out debug logging from EF Core.

This commit is contained in:
Jared Goodwin 2023-05-12 10:39:05 -07:00
parent ee3c722814
commit c96319d88b

View File

@ -42,7 +42,7 @@ namespace Remotely.Server.Data
protected override void OnConfiguring(DbContextOptionsBuilder options)
{
options.ConfigureWarnings(x => x.Ignore(RelationalEventId.MultipleCollectionIncludeWarning));
options.LogTo((message) => System.Diagnostics.Debug.Write(message));
//options.LogTo((message) => System.Diagnostics.Debug.Write(message));
}
protected override void OnModelCreating(ModelBuilder builder)