appsettings.Development.json 936 B

123456789101112131415161718192021222324252627
  1. {
  2. "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
  3. "Logging": {
  4. "LogLevel": {
  5. "Default": "Information",
  6. "Microsoft": "Warning",
  7. "Microsoft.Hosting.Lifetime": "Information"
  8. },
  9. "File": {
  10. "FileName": "logs/info.log",
  11. "Append": true,
  12. "MinimumLevel": "Information",
  13. "FileSizeLimitBytes": 5120,
  14. "MaxRollingFiles": 100
  15. },
  16. "Database": {
  17. "MinimumLevel": "Information"
  18. },
  19. "Monitor": {
  20. "GlobalEnabled": true, // 启用全局拦截日志
  21. "IncludeOfMethods": [], // 拦截特定方法,当GlobalEnabled=false有效
  22. "ExcludeOfMethods": [], // 排除特定方法,当GlobalEnabled=true有效
  23. "BahLogLevel": "Information" // Oops.Oh 和 Oops.Bah 业务日志输出级别
  24. }
  25. }
  26. }