Question

2
Replies
426
Views
Close popover
Abishek Sekar (Connect@Abicom)
Serendebyte
Senior Developer
Serendebyte
IN
Connect@Abicom Member since 2015 41 posts
Serendebyte
Posted: May 10, 2019
Last activity: May 13, 2019
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 Dev/Designer Studio Data Integration Java and Activities System Administration
Moderation Team has archived post