diff --git a/README.md b/README.md index 8732504..00678bb 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,10 @@ Or [as JSON](https://github.com/serilog/serilog-formatting-compact): } ``` -To enable the middleware, first change the minimum level for `Microsoft` to `Warning` in your logger configuration or _appsettings.json_ file: +To enable the middleware, first change the minimum level for `Microsoft.AspNetCore` to `Warning` in your logger configuration or _appsettings.json_ file: ```csharp - .MinimumLevel.Override("Microsoft", LogEventLevel.Warning) + .MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning) ``` Then, in your application's _Startup.cs_, add the middleware with `UseSerilogRequestLogging()`: