123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- {
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- },
- "AllowedHosts": "*",
- "ConnectionConfigs": [
- {
- "ConnectionString": "Data Source=10.30.44.50;User ID=sa;Password=P@ssw0rd;Initial Catalog=Ztest",
- //"ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=WMS_ZT_01HJ",
- "DbType": 1,
- "ConfigId": "hj",
- "IsAutoCloseConnection": true
- },
- {
- "ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=ptwms",
- "DbType": 1,
- "ConfigId": "pt",
- "IsAutoCloseConnection": true
- },
- {
- "ConnectionString": "Data Source=LAPTOP-D9OEIS1K\\SQLEXPRESS;User ID=sa;Password=7166766;Initial Catalog=fjwms",
- "DbType": 1,
- "ConfigId": "fj",
- "IsAutoCloseConnection": true
- },
- {
- "ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=sxwms",
- "DbType": 1,
- "ConfigId": "sx",
- "IsAutoCloseConnection": true
- },
- {
- "ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=cpwms",
- "DbType": 1,
- "ConfigId": "cp",
- "IsAutoCloseConnection": true
- }
- ],
- "CSRedisConnectString": "127.0.0.1[:6379],defaultDatabase=0",
- "Serilog": {
- "MinimumLevel": {
- "Default": "Debug", //最小记录日志级别
- "Override": {
- "Default": "Warning",
- "System": "Warning",
- "Microsoft": "Warning"
- }
- },
- "Enrich": [ "FromLogContext", "WithThreadId" ],
- "WriteTo": [
- {
- "Name": "Console",
- "Args": {
- "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
- }
- },
- {
- "Name": "Debug",
- "Args": {
- "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
- }
- },
- {
- "Name": "File",
- "Args": {
- "path": "Logs/log.txt",
- "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter",
- "rollingInterval": "Day",
- "outputTemplate": "{ClientIP}{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} {ThreadId} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
- "shared": true,
- "rollOnFileSizeLimit": true,
- "fileSizeLimitBytes": 102400000,
- "retainedFileCountLimit": 365
- }
- }
- ]
- },
- //"EsbMesPushUrl": "http://esb-pre.zt.net.cn:18080/esb/comm/api",
- "EsbMesPushUrl": "http://esb.zt.net.cn:18080/esb/comm/api",
- "EsbErpPushUrl": "",
- "RcsCreateTaskPushUrl": "",
- "RcsContinuePushUrl": "",
- "IWmsStockInPushUrl": "databus/publish/zhongTianOutStock",
- "IWmsStockOutPushUrl": "databus/publish/zhongTianIntoStock",
- "MoveReservedLocationCount": "1",
- "CopperLineToEmptyAreaCode": "21",
- "webapi": "https://localhost:7044",
- "maxweight": "950"
- }
|