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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Info Log issue

KN_9954684
12-Amethyst

Info Log issue

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?

1 ACCEPTED SOLUTION

Accepted Solutions
yhan
17-Peridot
(To:KN_9954684)

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

View solution in original post

3 REPLIES 3
yhan
17-Peridot
(To:KN_9954684)

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

KN_9954684
12-Amethyst
(To:yhan)

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

yhan
17-Peridot
(To:KN_9954684)

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

Top Tags