appsettings.json 787 B

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