React to EF change

This commit is contained in:
Arthur Vickers 2017-06-01 09:04:55 -07:00
parent fa469ed85b
commit 4b5d6903ea
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
void IObserver<DiagnosticListener>.OnNext(DiagnosticListener diagnosticListener) void IObserver<DiagnosticListener>.OnNext(DiagnosticListener diagnosticListener)
{ {
if (diagnosticListener.Name == DbLoggerCategory.Root) if (diagnosticListener.Name == DbLoggerCategory.Name)
{ {
diagnosticListener.Subscribe(this); diagnosticListener.Subscribe(this);
} }