Skip to main content
10-Marble
January 3, 2022
Solved

Excessive amount of ApplicationLog entries "Received xx Pushed Properties = ......"

  • January 3, 2022
  • 1 reply
  • 2686 views

Within our ApplicationLog of ThingWorx 9.1 there are many many entries with a log message from the RemoteThing starting with "Received [number] Pushed Properties = ......". There are approximately 50 entries per second!

These entries show us the pushes from our KEPServerEX towards ThingWorx. But because of the excessive amount, they make the ApplicationLog useless.

Is there anyway we can switch this event logging off?

 

Thank you!

 

Best answer by slangley

Hi @Rutger.

 

I know of no way to kill the RemoteThing log entries.  The same recommendation stands--only use INFO level when you need to troubleshoot an issue.

 

Regards.

 

--Sharon

1 reply

19-Tanzanite
January 4, 2022

What is the log level for your ThingWorx ApplicationLog where you observed this?

Rutger10-MarbleAuthor
10-Marble
January 4, 2022

Hi, the log level is 'Info'. We could increase this, but then we lose other info we need. But because of these entries, the log becomes useless on this level. 

So in someway we need to switch off these RemoteThing updates to make the ApplicationLog useful again.

 

19-Tanzanite
January 4, 2022

Info level is not the standard log level, and it exposes you to potential situations where logs can be filled pretty quickly, like in this situation (even more if set to trace). If those INFO statements are the result of your own custom code, I strongly suggest to switch to WARN.

If those other INFO statements that you really need are the result of ThingWorx code, then I believe you need to modify the logback.xml file in ThingWorx to set the log level for that emitting class higher, probably WARN.

You'll need to identify the full name of the class from the existing Application Log entries. To do that, look in the Origin column, where you will see a shortened form of the class. At this point you need to access the Help Center Java API to see the full class names http://support.ptc.com/help/thingworx_hc/javadoc/allclasses-index.html

If you encounter an issue at this part,  please don't hesitate to open a Support Ticket if you need more structured support.

There's an article which explains how to do this, and a help center entry.

https://www.ptc.com/en/support/article/CS323112?language=en&posno=13&q=logback%20xml%20thingworx&source=search

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/System/Logs/configuringlogging.html