appsettings.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "ServerId": 0,
  3. "Port": 5000,
  4. "AipSettings": {
  5. "AppName": "AIP Gateway RESTFull Service",
  6. "AppVersion": "1.0.0.0",
  7. "ClientId": "0e225915-3be3-419c-aa04-284d7de5e16b",
  8. "TenantId": "2e58414a-c6ae-43ff-aaf5-45ab8b78a404",
  9. "MipData": "App_Data\\mip_data",
  10. "LoginType": "authLoginCert",
  11. "Domain": "AIP.Gateway",
  12. "EMail": "SeungHo@kangfamily.site",
  13. "SecretValue": "CvW8Q~0iANtLN1Y2EXR_nVyYb_tQTDwjW-Z7Ndg3",
  14. "CertThumbPrint": "C:\\DEV\\SOLUTION\\IIS\\OpenSSL\\mip\\mip_gateway.pfx",
  15. "CertThumbPrintxx": "EFE33B4F85AE0877A16D6B8471FEB7E6B4E2BD8D"
  16. },
  17. "ConnectionStrings": {
  18. "DefaultConnection": "Server=115.91.94.42,11433;Uid=aipuser;Pwd=aipuser;Database=aipdb;MultipleActiveResultSets=true;TrustServerCertificate=True;"
  19. },
  20. "Serilog": {
  21. "Using": [ "Serilog.Sinks.Console" ],
  22. "MinimumLevel": {
  23. "Default": "Debug",
  24. "Override": {
  25. "Microsoft": "Debug",
  26. "Microsoft.EntityFrameworkCore": "Warning",
  27. "System": "Debug"
  28. }
  29. },
  30. "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
  31. "WriteTo": [
  32. {
  33. "Name": "Console",
  34. "Args": {
  35. "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
  36. "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} ({SourceContext}){NewLine}{Exception}"
  37. }
  38. },
  39. {
  40. "Name": "File",
  41. "Args": {
  42. "path": "Logs/AipGateway.API.log",
  43. "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] [{SourceContext}] [{EventId}] {Message}{NewLine}{Exception}",
  44. "rollOnFileSizeLimit": true,
  45. "fileSizeLimitBytes": 4194304,
  46. "retainedFileCountLimit": 5
  47. }
  48. }
  49. ]
  50. },
  51. "Logging": {
  52. "LogLevel": {
  53. "Default": "Information",
  54. "System": "Information",
  55. "Microsoft": "Information",
  56. "Microsoft.AspNetCore": "Warning"
  57. }
  58. },
  59. "AllowedHosts": "*"
  60. }