feat: 添加api访问日志
This commit is contained in:
@@ -50,6 +50,8 @@ public class Startup : AppStartup
|
||||
return string.Format(fileName, DateTime.UtcNow);
|
||||
};
|
||||
});
|
||||
|
||||
services.AddMonitorLogging();
|
||||
}
|
||||
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
|
||||
"Logging": {
|
||||
"Monitor": {
|
||||
"GlobalEnabled": true
|
||||
},
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
|
||||
Reference in New Issue
Block a user