appsettings.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "port": 7000,
  3. "aip": {
  4. "AppName": "AIP Gateway RESTFull Service",
  5. "AppVersion": "1.0.0.0",
  6. "ClientId": "0e225915-3be3-419c-aa04-284d7de5e16b",
  7. "TenantId": "2e58414a-c6ae-43ff-aaf5-45ab8b78a404",
  8. "MipData": "App_Data\\mip_data",
  9. "LoginType": "authLoginCert",
  10. "Domain": "AIP.Gateway",
  11. "EMail": "SeungHo@kangfamily.site",
  12. "SecretValue": "CvW8Q~0iANtLN1Y2EXR_nVyYb_tQTDwjW-Z7Ndg3",
  13. "CertThumbPrint": "C:\\DEV\\SOLUTION\\IIS\\OpenSSL\\mip\\mip_gateway.pfx",
  14. "CertThumbPrintxx": "EFE33B4F85AE0877A16D6B8471FEB7E6B4E2BD8D"
  15. },
  16. "ConnectionStrings": {
  17. "DefaultConnection": "Server=115.91.94.42,11433;Uid=aipuser;Pwd=aipuser;Database=aipdb;MultipleActiveResultSets=true;TrustServerCertificate=True;"
  18. },
  19. "Serilog": {
  20. "Using": [],
  21. "MinimumLevel": {
  22. "Default": "Information",
  23. "Override": {
  24. "Microsoft": "Warning",
  25. "System": "Warning"
  26. }
  27. },
  28. "WriteTo": [
  29. {
  30. "Name": "Console"
  31. },
  32. {
  33. "Name": "File",
  34. "Args": {
  35. "path": "C:\\DEV\\SOLUTION\\IIS\\AipGateway\\AipGateway.API.Service\\bin\\publish\\Log\\log.txt",
  36. "outputTemplate": "{Timestamp} {Message}{NewLine:1}{Exception:1}"
  37. }
  38. },
  39. {
  40. "Name": "File",
  41. "Args": {
  42. "path": "C:\\DEV\\SOLUTION\\IIS\\AipGateway\\AipGateway.API.Service\\bin\\publish\\Log\\log.json",
  43. "formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog"
  44. }
  45. },
  46. {
  47. "Name": "MSSqlServer",
  48. "Args": {
  49. "connectionString": "<ConnectionStringHere>",
  50. "sinkOptionsSection": {
  51. "tableName": "Logs",
  52. "schemaName": "EventLogging",
  53. "autoCreateSqlTable": true
  54. },
  55. "restrictedToMinimumLevel": "Warning"
  56. }
  57. }
  58. ],
  59. "Enrich": [
  60. "FromLogContext",
  61. "WithMachineName",
  62. "WithProcessId",
  63. "WithThreadId"
  64. ],
  65. "Properties": {
  66. "ApplicationName": "Serilog.WebApplication"
  67. }
  68. },
  69. "Logging": {
  70. "LogLevel": {
  71. "Default": "Information",
  72. "System": "Information",
  73. "Microsoft": "Information",
  74. "Microsoft.AspNetCore": "Warning"
  75. }
  76. },
  77. "AllowedHosts": "*"
  78. }