Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
We have 2 questions regarding the logs in ThingWorx.
2. How to break the thingworx stderr & stdout file based on date or size? Because right now everyday logs are logged in the same file unless it the tomcat service is restarted.
Thanks in advance,
ShaliniV
Solved! Go to Solution.
Hi @svisveswaraiya.
You're actually referring to the logs located in <tomcat_home>\logs, correct? Here is a link to an article that may be helpful for limiting the size of the logs. For limiting the content of the messages, there is a level option that may allow you to tweak what gets written:
Example: <File Handler>.java.util.logging.FileHandler.level = FINE
You can refer to this page for the logging levels. This will need to be applied to any of the file handlers you wish to adjust.
Regards.
--Sharon
Hi @svisveswaraiya.
You're actually referring to the logs located in <tomcat_home>\logs, correct? Here is a link to an article that may be helpful for limiting the size of the logs. For limiting the content of the messages, there is a level option that may allow you to tweak what gets written:
Example: <File Handler>.java.util.logging.FileHandler.level = FINE
You can refer to this page for the logging levels. This will need to be applied to any of the file handlers you wish to adjust.
Regards.
--Sharon