2024-11-08 10:30:54 +08:00
{
2024-11-12 18:18:43 +08:00
"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"
2024-11-08 10:30:54 +08:00
}
} ,
2024-11-12 18:18:43 +08:00
"ConnectionStrings" : {
2024-11-13 00:30:24 +08:00
//"Default": "Data Source=192.168.111.248;Port=3306;Database=JiSheCollectBus;uid=root;pwd=123456abcD;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true",
"Default" : "Data Source=localhost;Port=3306;Database=JiSheCollectBus;uid=root;pwd=123456abcD;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
2024-11-12 18:18:43 +08:00
} ,
"MongoSettings" : {
"Connection" : "mongodb://backups_admin:jishe_mongodb_backups@118.190.144.92:27037" ,
"DatabaseName" : "JiSheCollectBus"
} ,
"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"
}
}
}