diff --git a/AsyncHttpServer.cs b/AsyncHttpServer.cs index cb78a4b..92fd8e7 100644 --- a/AsyncHttpServer.cs +++ b/AsyncHttpServer.cs @@ -10,6 +10,7 @@ using TouchSocket.Core; using TouchSocket.Http; using TouchSocket.Http.WebSockets; using TouchSocket.Sockets; +using static System.Runtime.InteropServices.JavaScript.JSType; namespace ForwardingServer @@ -69,7 +70,6 @@ namespace ForwardingServer // using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(10)); await AsyncTcpServer.service.SendAsync(s_, bodyString); - LogGing.LogGingDATA(bodyString); DATA.Person deserializedPerson = JsonSerializer.Deserialize(bodyString)!; @@ -111,8 +111,6 @@ namespace ForwardingServer e.Context.Response.SetStatus(200, "success"); e.Context.Response.SetContent(Encoding.UTF8.GetBytes(dat.ToCharArray())); await e.Context.Response.AnswerAsync(); - - LogGing.LogGingDATA(dat); } catch (TimeoutException) { diff --git a/AsyncTcpServer.cs b/AsyncTcpServer.cs index f0e7ce1..552c12f 100644 --- a/AsyncTcpServer.cs +++ b/AsyncTcpServer.cs @@ -67,8 +67,6 @@ namespace ForwardingServer drEmployee.EndEdit(); drEmployee.AcceptChanges(); } - - LogGing.LogGingDATA("[LINK ID " + client.Id + " IP " + client.IP + "]\nDATA =" + DAT); } } @@ -79,8 +77,7 @@ namespace ForwardingServer DATA.MachineTable.Rows.Add(client.Id, client.IP, 30, "/" + deserializedPerson.SERVEREnterprise, deserializedPerson.SERVERMachineName, deserializedPerson.MachineVer); Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-DD HH:mm:ss:fff") + " [LINK ID " + client.Id + " IP " + client.IP + "]\nDATA =" + DAT); - LogGing.LogGingDATA("[LINK ID " + client.Id + " IP " + client.IP + "]\nDATA =" + DAT); - + } } }