修改日志级别
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-08-07 09:13:55 +08:00
parent 3215d68504
commit 492312f595
1 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,9 @@ namespace IRaCIS.Core.API
.MinimumLevel.Information()
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("MassTransit", LogEventLevel.Warning)
.MinimumLevel.Override("FusionCache", LogEventLevel.Warning)
//https://github.com/ZiggyCreatures/FusionCache/blob/main/docs/Logging.md
.MinimumLevel.Override("ZiggyCreatures.Caching.Fusion", LogEventLevel.Warning)
// Filter out ASP.NET Core infrastructre logs that are Information and below 日志太多了 一个请求 记录好几条
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
.MinimumLevel.Override("Microsoft.AspNetCore.Hosting", LogEventLevel.Warning)