Skip to content

Commit

Permalink
Comment out debug logging from EF Core.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed May 12, 2023
1 parent ee3c722 commit c96319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Data/AppDb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class AppDb : IdentityDbContext
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)
Expand Down

0 comments on commit c96319d

Please sign in to comment.