Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
How to get the all my custom log details in a file format?
Could you please clarify what you mean by "custom log details"?
You may find your application logs in ThingworxStorage/logs directory.
Hi Bavithraa Marimuthu,
I hope that by custom logs you are referring to the Script logs which are generated when any service runs in ThingWorx composer.
They are available at <Root>/ThingworxStorage/logs/ScriptLog.log
I hope it helps.
In <Root>/ThingworxStorage/logs/ScriptLog.log, it has the info of all logs. But I want only my defined (custom) logs to be captured that too in a file format Eg: xxxx.log
How can I do this ?
One option could be to create a custom service and use GetLogEntries Service of ScriptLog entity and then filter based on the requirement.
Then we can use Data Exporter widget to export the log data to a file in a ThingWorx repository.
I hope it helps.