Question

2
Replies
343
Views
X
Connect@Abicom Member since 2015 38 posts
Serendebyte
Posted: 1 year ago
Last activity: 1 year 2 months ago
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 Low-Code App Development Dev/Designer Studio Data Integration Java and Activities Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn