Skip to main content
Aug 13, 2021 11:33 PM UTC
Question

.NET Edge Application Console output too verbose

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

Aug 26, 2021 8:06 PM UTC

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