{ "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_01FJ", "ConnectionString": "Data Source=ZLH;User ID=sa;Password=7166766;Initial Catalog=WMS_ZT_01FJ", "DbType": 1, "ConfigId": "fj", "IsAutoCloseConnection": true } ], //"CSRedisConnectString": "10.30.37.2:6379,defaultDatabase=6", "CSRedisConnectString": "127.0.0.1:6379,password=7166766,defaultDatabase=6", "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": "http://localhost:10539", "maxweight": "950" }