Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Cannot find DatabaseLog in Thingworx 9.1.0 Monitoring logs but able to see the same in thingworx 9.0.0
Could you please help me If I have to make any changes
Solved! Go to Solution.
GetLogEntries will only work for below logs.
One of the possible solutions to load the Database log in a mashup is via a custom extension. You can refer this article, it explains how to get contents of a file on a drive from ThingWorx service.
Regards,
Sachin Sharma
var logTable = Logs["DatabaseLog"].GetLogEntries({
oldestFirst: true /* BOOLEAN */,
maxItems: 67 /* NUMBER */
});
result = logTable;
The above code works only for the logs displayed in Monitoring logs where as it doesnt work for DatabaseLog
Any workaround for this?
I did not get any update on the above query.Can you respond on it
GetLogEntries will only work for below logs.
One of the possible solutions to load the Database log in a mashup is via a custom extension. You can refer this article, it explains how to get contents of a file on a drive from ThingWorx service.
Regards,
Sachin Sharma