Unable to find infoForced logs written with in a function rule in Pega rules log

Hi, Can someone help me to find the loggername for function rule since I am unable to find logs in pegarules log.I would like to set them to debug .

Thanks.

Rashmitha

@RashmithaM Open the Rule Utility Function and use Actions > View XML to copy its pzInsKey (include the parameter list shown there).
In Admin Studio, go to Resources > Log categories and create a new log category.
Add that pzInsKey as the logger in the category, set the category level to DEBUG, and save.
Run the rule that calls the function again.
Now the function’s oLog messages will show up in PegaRULES.log, and DEBUG lines will appear because the logger is set to DEBUG.
Make sure you check the PegaRULES.log from the node that actually processed your request.

@Sairohith I did this and checked logs on all the nodes not only the requested node but I am still not able to view them.Also, will it make any difference calling the function from a when rule. Should I add logs to when rule as well?