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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Info Log issue

KN_9954684
14-Alexandrite

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?

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
14-Alexandrite
(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

Announcements


Top Tags