Skip to content

Commit

Permalink
fix: log level
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Sep 19, 2022
1 parent dcb3f84 commit f29aa34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GZCTF/Utils/LogHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static Logger GetLogger(IConfiguration configuration, IServiceProvider se
logEvent.Exception.GetType() == typeof(OperationCanceledException))
.MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
.MinimumLevel.Override("AspNetCoreRateLimit", LogEventLevel.Warning)
.MinimumLevel.Override("Microsoft.Hosting.Lifetime", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.Hosting.Lifetime", LogEventLevel.Warning)
.WriteTo.Async(t => t.Console(
formatter: new ExpressionTemplate(LogTemplate, theme: TemplateTheme.Literate),
restrictedToMinimumLevel: LogEventLevel.Debug
Expand Down

0 comments on commit f29aa34

Please sign in to comment.