问题 I am using Serilog.Extensions.Logging.File to logs in file. Here is my appsettings.json file: "Logging": { "IncludeScopes": false, "LogLevel": { "Default": "Information", "System": "None", "Microsoft": "None" } }, "LoggingFile": { "IncludeScopes": false, "pathFormat": "C:/logs/APILogs-{Date}.log", "LogLevel": { "Default": "Trace", "System": "None", "Microsoft": "None" } } My Startup.cs code: public void Configure( IApplicationBuilder app, IHostingEnvironment env,