Merge claudedo/9f504bc8ea254eddb3def38a606eb8a5
This commit is contained in:
@@ -47,6 +47,8 @@ var broadcastSink = new BroadcastLogSink(logBuffer);
|
|||||||
|
|
||||||
builder.Host.UseSerilog((ctx, lc) => lc
|
builder.Host.UseSerilog((ctx, lc) => lc
|
||||||
.MinimumLevel.Information()
|
.MinimumLevel.Information()
|
||||||
|
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", Serilog.Events.LogEventLevel.Warning)
|
||||||
|
.MinimumLevel.Override("Microsoft.AspNetCore", Serilog.Events.LogEventLevel.Warning)
|
||||||
.WriteTo.File(
|
.WriteTo.File(
|
||||||
System.IO.Path.Combine(logRoot, "worker-.log"),
|
System.IO.Path.Combine(logRoot, "worker-.log"),
|
||||||
rollingInterval: RollingInterval.Day,
|
rollingInterval: RollingInterval.Day,
|
||||||
|
|||||||
Reference in New Issue
Block a user