Skip to main content
1-Visitor
August 13, 2021
Question

.NET Edge Application Console output too verbose

  • August 13, 2021
  • 1 reply
  • 846 views

Is there a way to reduce the verboseness of the console message output level with the .NET edge SDK? At the moment the TwApi Wrapper is output the following debug message every few seconds.

 

30 39 3A 33 31 3A 33 31
2021-08-14 09:31:31,389 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Received Pong
2021-08-14 09:31:31,389 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - msgHandlerOnPong: Received Pong. Data: 09:31:31
2021-08-14 09:32:16,305 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - sendCtlFrame: >>>>> Sending Ping. Msg: 09:32:16
2021-08-14 09:32:16,320 [8] DEBUG com.thingworx.communications.client.TwApiWrapper - sendCtlFrame: >>>>> Sending Ping. Msg: 09:32:16
2021-08-14 09:32:16,380 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Read 2 bytes into header buffer
2021-08-14 09:32:16,381 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Got Header: Body length = 8
2021-08-14 09:32:16,395 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Header Data:
8A 08
2021-08-14 09:32:16,395 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Read 8 bytes into Frame buffer
2021-08-14 09:32:16,395 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Got (Compressed) Body:
30 39 3A 33 32 3A 31 36
2021-08-14 09:32:16,395 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Received Pong
2021-08-14 09:32:16,395 [9] DEBUG com.thingworx.communications.client.TwApiWrapper - msgHandlerOnPong: Received Pong. Data: 09:32:16
2021-08-14 09:32:16,424 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Read 2 bytes into header buffer
2021-08-14 09:32:16,431 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Got Header: Body length = 8
2021-08-14 09:32:16,431 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Header Data:
8A 08
2021-08-14 09:32:16,431 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Read 8 bytes into Frame buffer
2021-08-14 09:32:16,431 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Got (Compressed) Body:
30 39 3A 33 32 3A 31 36
2021-08-14 09:32:16,431 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - twWs_Receive: Received Pong
2021-08-14 09:32:16,432 [5] DEBUG com.thingworx.communications.client.TwApiWrapper - msgHandlerOnPong: Received Pong. Data: 09:32:16

1 reply

Support
August 26, 2021

Hi @KK_8684128 

 

Here is a link to the ThingWorx Help Center that can guide you for changing the logging level.

 

Please let us know if you have further questions.

 

Regards.

 

--Sharon