@ -30,7 +30,7 @@ namespace SlnMesnac.Serilog
//.WriteTo.File(Path.Combine(logPath, "Debug.log"), LogEventLevel.Debug, fileSizeLimitBytes: 5 * 1024)
.CreateLogger();
app.UseSerilogRequestLogging();
Log.Information($"系统初始化完成,日志存放路径:{logPath}");
return app;
}
@ -21,7 +21,7 @@
"commandName": "Project",
"launchBrowser": true,
//"launchUrl": "swagger",
"applicationUrl": "http://localhost:5000",
"applicationUrl": "http://localhost:5001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
@ -84,16 +84,16 @@ namespace SlnMesnac
services.AddServices();
//注册Quartz
services.AddQuartzSetUp();
//services.AddQuartzSetUp();
//注册PLC
services.AddPlcSetup();
//注册MQTT
services.AddMqttSetup();
//services.AddMqttSetup();
//注册TouchSocket
services.AddTouchSocketSetup();
//services.AddTouchSocketSetup();
/// <summary>
@ -8,7 +8,7 @@
},
"AllowedHosts": "*",
"AppConfig": {
"logPath": "E:\\桌面\\日常代码\\SlnMesnac\\SlnMesnac\\bin\\Debug\\net6.0",
"logPath": "/Users/wenxiansheng/Desktop/日常代码/杜肯新材料程序设计/Durk.SlnMesnac/SlnMesnac/bin/Debug/net6.0",
"mesConnStr": "server=.;uid=sa;pwd=123456;database=JiangYinMENS",
"mcsConnStr": "Data Source=175.27.215.92/helowin;User ID=aucma_scada;Password=aucma"