feat: 完成审计日志模块引入

This commit is contained in:
陈淳
2024-01-23 15:08:01 +08:00
parent 96ae77e5ab
commit e9b5147743
19 changed files with 183 additions and 101 deletions

View File

@@ -57,7 +57,9 @@ namespace Yi.Abp.Web
//请求日志
Configure<AbpAuditingOptions>(optios =>
{
optios.IsEnabled = true;
//默认关闭,开启会有大量的审计日志
optios.IsEnabled = false;
//审计日志过滤器
optios.AlwaysLogSelectors.Add(x => Task.FromResult(true));
});