cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to get the logs in a file format?

bmarimuthu-2
12-Amethyst

How to get the logs in a file format?

How to get the all my custom log details  in a file format?

4 REPLIES 4

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.

Announcements


Top Tags