Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
ThingWorx 8.5.0-b12 :
I used logger.info("Information") in a service in the above version of Thingworx. But it is not displaying info logs.
Can you please verify and confirm?
Solved! Go to Solution.
If I follow below steps I can see the info level message both in the monitoring tool and script log under storage folder:
1. Monitoring > ScriptLog > Configure > set log level to Info
2. create a service like below and execute
3. Check Monitoring > ScriptLog, I can see the info message
4. Check the script log under storage folder, the info message is also there
If you still don't see the info when you follow the above steps, please check if you enable LoggingSubsystem > Configuration > Enable Script Strack Tracing
Do you already configure Log level to info of scriptLog? If not you should visit Monitoring > ScriptLog > Configure > set log level to Info.
I have done that and checked log files in ThingworxStorage too.
If I follow below steps I can see the info level message both in the monitoring tool and script log under storage folder:
1. Monitoring > ScriptLog > Configure > set log level to Info
2. create a service like below and execute
3. Check Monitoring > ScriptLog, I can see the info message
4. Check the script log under storage folder, the info message is also there
If you still don't see the info when you follow the above steps, please check if you enable LoggingSubsystem > Configuration > Enable Script Strack Tracing