Question

2
Replies
498
Views
Abishek Sekar (Connect@Abicom)
TTEC
Senior Developer
TTEC
IN
Connect@Abicom Member since 2015 41 posts
TTEC
Posted: May 10, 2019
Last activity: May 13, 2019
Posted: 10 May 2019 3:17 EDT
Last activity: 13 May 2019 9:46 EDT
Closed

What is the Syntax for Logger name

How to add logger for an activity?

In help of logger level setting it is mentioned as below

"Logger Name - Identify a Java class or other logger category to be logged. Use SmartPrompt to list all Java classes in com.pega.pegarules, or enter a category. Examples:

  • Rule-Obj-Activity to review or update the logging level for all activity executions
  • Rule-Obj-Activity.<activity name> to update the logging level for all activities with a given name in any Applies To class.
  • com.pega.pegarules.engine.context.Agent to update the level for all agent"

Where as the actual loggers are formed as "Rule_Obj_Activity.SendDeadlineMails.JLL_FW_SCFW_Work.Action"

The above one works for me.

***Edited by Moderator: Pallavi to update platform capability tags***

But if i add a logger name as mentioned in help.(Rule-Obj-Activity.<activity name> ). Logging is not happening.

Rule-Obj-Activity.SendDeadlineMails

Which one is correct? Kindly share your thoughts.

Pega Platform Low-Code App Development Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities System Administration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.