57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
|
"MinimumLevel": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"System": "Warning"
|
|
},
|
|
"WriteTo": [
|
|
{ "Name": "Console" },
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/log-.txt",
|
|
"rollingInterval": "Day"
|
|
//"rollOnFileSizeLimit": true,
|
|
//"formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
|
|
|
"Properties": {
|
|
"Application": "CollectBus",
|
|
"Environment": "Development"
|
|
}
|
|
},
|
|
|
|
"ConnectionStrings": {
|
|
"Default": "Data Source=192.168.111.248;Port=3306;Database=JiSheCollectBus;uid=root;pwd=123456abcD;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
},
|
|
"MongoSettings": {
|
|
"Connection": "mongodb://backups_admin:jishe_mongodb_backups@118.190.144.92:27037",
|
|
"DatabaseName": "JiSheCollectBus"
|
|
},
|
|
"TCP": {
|
|
"Port": 10500
|
|
},
|
|
"UDP": {
|
|
"Port": 10500
|
|
},
|
|
"RedisCache": {
|
|
"ConnectionString": "123456@qwer@localhost:6379",
|
|
"InstanceName": "CollectBus"
|
|
},
|
|
"MQ": {
|
|
"Host": "118.190.144.92",
|
|
"Port": "5672",
|
|
"VirtualHost": "/",
|
|
"UserName": "collectbus",
|
|
"Password": "123456",
|
|
"Queue": {
|
|
"Received": "Received_Command",
|
|
"Issued": "Issued_Command"
|
|
}
|
|
}
|
|
} |