Skip to main content
14-Alexandrite
July 2, 2021
Solved

Info Log issue

  • July 2, 2021
  • 1 reply
  • 1215 views

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?

Best answer by yhan

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

7-2-2021 6-03-02 PM.jpg

3. Check Monitoring > ScriptLog, I can see the info message

7-2-2021 6-04-41 PM.jpg

4. Check the script log under storage folder, the info message is also there

7-2-2021 6-06-21 PM.jpg

 

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

1 reply

17-Peridot
July 2, 2021

Do you already configure Log level to info of scriptLog? If not you should visit Monitoring > ScriptLog > Configure > set log level to Info.

14-Alexandrite
July 2, 2021

I have done that and checked log files in ThingworxStorage too.

yhan17-PeridotAnswer
17-Peridot
July 2, 2021

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

7-2-2021 6-03-02 PM.jpg

3. Check Monitoring > ScriptLog, I can see the info message

7-2-2021 6-04-41 PM.jpg

4. Check the script log under storage folder, the info message is also there

7-2-2021 6-06-21 PM.jpg

 

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