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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Windchill RV&S 13.1.01:  Logs from Trigger scripts are not visible in server log

AP_11714902
8-Gravel

Windchill RV&S 13.1.01:  Logs from Trigger scripts are not visible in server log

 Logs from Trigger scripts are not visible in server log
We wrote the logs in trigger script same as given in the ptc help document e.g. function print(msg, level) {
if (level == null) level = 5;
Packages.mks.util.Logger.message("MYTRIGGER", level, msg);
}

but when we run the script, these logs are not visible in server logs.

ACCEPTED SOLUTION

Accepted Solutions

That code only tells the RV&S server to output the log lines to the MYTRIGGER category. You then need to enable that logging category like you do with any other:

im logging --category=MYTRIGGER --on

View solution in original post

2 REPLIES 2

That code only tells the RV&S server to output the log lines to the MYTRIGGER category. You then need to enable that logging category like you do with any other:

im logging --category=MYTRIGGER --on

Thank you for help, it's working now. 

Announcements


Top Tags