| | |
| | | "MinimumLevel": { |
| | | "Default": "Information", |
| | | "Override": { |
| | | "Microsoft": "Information", |
| | | "Microsoft.AspNetCore": "Information", |
| | | "Microsoft.AspNetCore.Routing": "Information", |
| | | "Microsoft.AspNetCore.Mvc": "Information", |
| | | "Microsoft.AspNetCore.Mvc.Infrastructure": "Information", |
| | | "Microsoft.AspNetCore.Mvc.Filters": "Information", |
| | | "Microsoft.AspNetCore.Mvc.ModelBinding": "Information", |
| | | "Microsoft.EntityFrameworkCore": "Information", |
| | | "Quartz": "Debug" |
| | | "Microsoft": "Warning", |
| | | "Microsoft.AspNetCore": "Warning", |
| | | "Microsoft.AspNetCore.Routing": "Warning", |
| | | "Microsoft.AspNetCore.Mvc": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.Infrastructure": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.Filters": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.ModelBinding": "Warning", |
| | | "Microsoft.EntityFrameworkCore": "Warning", |
| | | "Quartz": "Warning" |
| | | } |
| | | } |
| | | }, |
| | | "Logging": { |
| | | "LogLevel": { |
| | | "Default": "Debug", |
| | | "Default": "Warning", |
| | | "Microsoft.AspNetCore": "Warning", |
| | | "Quartz": "Debug" |
| | | } |
| | |
| | | "EnableConsoleOutput": false, //是否输出到控制台 |
| | | "EnableFloderByLevel": true //是否按日志级别生成不同的文件夹 |
| | | }, |
| | | "ApiLogIgnore": "", //记录日志时,忽略的API名称,多个用逗号分隔,配置的不记录到数据库中 |
| | | "ApiLogIgnore": "Export,Get,get", //记录日志时,忽略的API名称,多个用逗号分隔,配置的不记录到数据库中 |
| | | "ApiName": "WIDESEAWCS", |
| | | "ExpMinutes": 120, |
| | | "QuartzJobAutoStart": true, |
| | |
| | | "10030": "GWSC1" |
| | | }, |
| | | "AddressSourceLineNoMap": { // 对应输送线编号地址映射 |
| | | "11001": "10010", |
| | | "11010": "10030", |
| | | "10010": "11001", |
| | | "10030": "11010" |
| | | "11001": "2101", |
| | | "11010": "2103", |
| | | "2101": "11001", |
| | | "2103": "11010" |
| | | } |
| | | }, |
| | | "RobotAddressRules": { |
| | | "11068": [ "1", "2" ], |
| | | "11001": [ "3", "1" ], |
| | | "11010": [ "4", "2" ], |
| | | "2101": [ "1", "3" ], |
| | | "2103": [ "2", "4" ] |
| | | }, |
| | | "RedisConfig": { |
| | | "Enabled": true, //是否启用Redis,false时仅使用内存缓存 |
| | | "ConnectionString": "127.0.0.1:6379,password=P@ssw0rd,defaultDatabase=0,connectTimeout=5000,abortConnect=false", //Redis连接字符串 |
| | | "ConnectionString": "127.0.0.1:6379,password=,defaultDatabase=0,connectTimeout=5000,abortConnect=false", //Redis连接字符串 |
| | | "InstanceName": "WIDESEAWCS:", //实例名称,用于区分不同应用 |
| | | "DefaultDatabase": 0, //默认数据库索引(0-15) |
| | | "EnableSentinel": false, //是否启用哨兵模式 |