Skip to content

Commit 07a499e

Browse files
authored
MEIER-323: Suppress default ASP.NET Core request logs in favor of Serilog middleware (#82)
1 parent 3a6148b commit 07a499e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/App/src/Program.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ let configureLogger (config: Config) =
3838
let logger =
3939
LoggerConfiguration()
4040
.MinimumLevel.ControlledBy(levelSwitch)
41+
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
4142
.WriteTo.Console()
4243
.WriteTo.Seq(serverUrl = config.seq.endpoint, controlLevelSwitch = levelSwitch)
4344
.CreateLogger()

0 commit comments

Comments
 (0)