appsettings.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "AllowedHosts": "*",
  9. "ConnectionConfigs": [
  10. {
  11. //"ConnectionString": "Data Source=10.30.44.50;User ID=sa;Password=P@ssw0rd;Initial Catalog=WMS_ZT_01SX",
  12. //"ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=WMS_ZT_01HJ",
  13. "ConnectionString": "Data Source=118.178.107.197;User ID=bz;Password=123456;Initial Catalog=WMS_ZT_01SX",
  14. "DbType": 1,
  15. "ConfigId": "sx",
  16. "IsAutoCloseConnection": true
  17. }
  18. ],
  19. "CSRedisConnectString": "127.0.0.1[:6379],password=123456,defaultDatabase=0",
  20. "Serilog": {
  21. "MinimumLevel": {
  22. "Default": "Debug", //最小记录日志级别
  23. "Override": {
  24. "Default": "Warning",
  25. "System": "Warning",
  26. "Microsoft": "Warning"
  27. }
  28. },
  29. "Enrich": [ "FromLogContext", "WithThreadId" ],
  30. "WriteTo": [
  31. {
  32. "Name": "Console",
  33. "Args": {
  34. "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
  35. }
  36. },
  37. {
  38. "Name": "Debug",
  39. "Args": {
  40. "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
  41. }
  42. },
  43. {
  44. "Name": "File",
  45. "Args": {
  46. "path": "Logs/log.txt",
  47. "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter",
  48. "rollingInterval": "Day",
  49. "outputTemplate": "{ClientIP}{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
  50. "shared": true,
  51. "rollOnFileSizeLimit": true,
  52. "fileSizeLimitBytes": 102400000,
  53. "retainedFileCountLimit": 365
  54. }
  55. }
  56. ]
  57. },
  58. "EsbMesPushUrl": "http://esb.zt.net.cn:18080/esb/comm/api",
  59. //“EsbMesPushUrlM”: “”,
  60. "EsbMesPushUrlMq": "http://esb.zt.net.cn:18080/esb/comm/mq",
  61. "EsbMesPushUrlPubMq": "http://esb.zt.net.cn:18080/esb/pub/mq",
  62. "RcsCreateTaskPushUrl": "",
  63. "RcsContinuePushUrl": "",
  64. "MaterInfo": "62103902,62100305,62101201,62102103,62100801,62102402,62102506,62101804,62100701,62101803,62101202,62100101,62102301,62100201,62102204,62100203,62102203,62100104,62101601,62100902",
  65. "TorTaskCount": "54",//68
  66. "IWmsStockInPushUrl": "databus/publish/zhongTianOutStock",
  67. "IWmsStockOutPushUrl": "databus/publish/zhongTianIntoStock",
  68. "MoveReservedLocationCount": "1",
  69. "CopperLineToEmptyAreaCode": "21",
  70. "webapi": "http://10.30.44.3:8011",
  71. "maxweight": "950",
  72. "TimeOutHoldHours": "72",
  73. "ForbidLayer": "",
  74. "FloorCount": "72"
  75. }