| 1234567891011121314151617181920212223242526272829303132 |
- {
- "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
- "Urls": "https://*:5005",
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft": "Warning",
- "Microsoft.Hosting.Lifetime": "Information"
- },
- "File": {
- "FileName": "logs/info.log",
- "Append": true,
- "MinimumLevel": "Information",
- "FileSizeLimitBytes": 5120,
- "MaxRollingFiles": 30
- },
- "Database": {
- "MinimumLevel": "Information"
- },
- "Monitor": {
- "GlobalEnabled": true, // 启用全局拦截日志
- "IncludeOfMethods": [], // 拦截特定方法,当GlobalEnabled=false有效
- "ExcludeOfMethods": [], // 排除特定方法,当GlobalEnabled=true有效
- "BahLogLevel": "Information", // Oops.Oh 和 Oops.Bah 业务日志输出级别
- "WithReturnValue": true, // 配置是否包含返回值,默认true
- "ReturnValueThreshold": 0 // 配置返回值字符串阈值,默认0全量输出
- }
- },
- "AllowedHosts": "*"
- }
|