1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- {
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- },
- "AllowedHosts": "*",
- "ConnectionConfigs": [
- {
- "ConnectionString": "Data Source=10.30.44.50;User ID=sa;Password=P@ssw0rd;Initial Catalog=WMS_ZT_01CP",
- //"ConnectionString": "Data Source=.;User ID=sa;Password=Aa123456;Initial Catalog=WMS_ZT_01PT",
- "DbType": 1,
- "ConfigId": "cp",
- "IsAutoCloseConnection": true
- }
- ],
- "CSRedisConnectString": "127.0.0.1[:6379],password=123456,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",
- //"EsbMesPushUrl": "http://esb.zt.net.cn:18080/esb/comm/api",
- "EsbMQUri": "tcp://172.27.8.100:61616",
- //"EsbMQUri": "tcp://hamg1.zt.net.cn:61616,tcp://hamg2.zt.net.cn:61616",
- "RcsCreateTaskPushUrl": "",
- "RcsContinuePushUrl": "",
- "JKPushUrl": "http://esb.zt.net.cn:18080/esb/comm/api",
- "IWmsStockInPushUrl": "databus/publish/zhongTianOutStock",
- "IWmsStockOutPushUrl": "databus/publish/zhongTianIntoStock",
- "MoveReservedLocationCount": "1",
- "CopperLineToEmptyAreaCode": "21",
- "webapi": "https://localhost:7044",
- "maxweight": "950"
- }
|