You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LogHelper.WarningConsole($"start the [HTTP] server port [{Setting.HttpPort}] out of range [5000-{ushort.MaxValue-1}],The HTTP service cannot be started, and the startup is ignored");
95
+
LogHelper.Warning($"start the [HTTP] server port [{Setting.HttpPort}] out of range [5000-{ushort.MaxValue-1}],The HTTP service cannot be started, and the startup is ignored");
LogHelper.WarningConsole($"start tcp server start failed type: {ServerType}, address: {Setting.InnerHost}, port: {Setting.InnerPort}, cause: the port is invalid or occupied");
302
+
LogHelper.Warning($"start tcp server start failed type: {ServerType}, address: {Setting.InnerHost}, port: {Setting.InnerPort}, cause: the port is invalid or occupied");
303
303
}
304
304
}
305
305
else
306
306
{
307
-
LogHelper.InfoConsole($"start tcp server type: {ServerType}, address: {Setting.InnerHost}, port: {Setting.InnerPort}, cause: the tcp server is disabled");
307
+
LogHelper.Info($"start tcp server type: {ServerType}, address: {Setting.InnerHost}, port: {Setting.InnerPort}, cause: the tcp server is disabled");
308
308
}
309
309
310
310
// 检查WebSocket端口是否可用
311
311
if(Setting.IsEnableWebSocket)
312
312
{
313
313
if(Setting.WsPortis>0 and <ushort.MaxValue&&NetHelper.PortIsAvailable(Setting.WsPort))
314
314
{
315
-
LogHelper.InfoConsole("start the websocket server...");
315
+
LogHelper.Info($"start the websocket server type: {ServerType}, port: {Setting.WsPort}");
LogHelper.InfoConsole($"Finding the boot configuration for the corresponding server type in the configuration file will be configured to boot=>{startKv.Value.ServerType}");
242
+
LogHelper.Info($"Finding the boot configuration for the corresponding server type in the configuration file will be configured to boot=>{startKv.Value.ServerType}");
243
243
}
244
244
else
245
245
{
246
-
LogHelper.WarningConsole($"If no startup configuration is found for the server type, it will start with the default configuration=>{startKv.Value.ServerType}");
246
+
LogHelper.Warning($"If no startup configuration is found for the server type, it will start with the default configuration=>{startKv.Value.ServerType}");
LogHelper.WarningConsole($"If no startup configuration is found for the server type, it will start with the default configuration=>{keyValuePair.Value.ServerType}");
271
+
LogHelper.Warning($"If no startup configuration is found for the server type, it will start with the default configuration=>{keyValuePair.Value.ServerType}");
272
272
Launcher(args,keyValuePair);
273
273
break;
274
274
}
275
275
}
276
276
}
277
277
278
-
LogHelper.InfoConsole("----------------------------The Startup Server Is Over------------------------------");
278
+
LogHelper.Info($"----------------------------The Startup Server Is Over------------------------------");
0 commit comments