Do you know .. Popular Pega Classes/Loggers that helps in Troubleshooting Issues ? Check it out here-
Have you spent Hours & days of your time to Troubleshoot Issues ?
Here are some Pega Classes or Loggers that I (came across..) generally use to Troubleshoot Issues quickly. You would also have enabled DEBUG some or the other time for a PegaClass/Activity & if you feel after enabling DEBUG to that class/activity helped you in narrowing down the Root-Cause, please share it here.
Lets put all together & have a Nice Handy document which would help all of us.
Popular Pega Classes/Loggers - helps in Troubleshooting Issues
Thanks Hari, that’s a great idea, having a list correlating keywords of trouble areas and suggested debug classes.
One thing I’ve found useful occasionally is being able to turn on the debug classes just before performing the operation I want to analyze, and then turn them right off again right after.
That is useful for situations where leaving those debug classes on longer floods the log file with lots of unwanted info.
A fairly easy way to see how to turn the classes on and off is to trace the set-logging-level landing page to capture the java it uses for setting the logging level for the class, and then copy that small piece of java into your own activity just before the operation you want to analyze, and a similar piece just after the operation to restore the class settings.
That trick becomes even more valuable when the number of classes involved is more than one, since changing the values of multiple classes takes a while using the landing page since only one class can be set at a time.
Yes, I do agree to your point that the logger levels should be enabled only on need basis otherwise the Log-files size can grow eventually & can cause unnecessary issues.
Regarding the enabling the debug for multiple classes at a time, felt bit interesting by the information that you shared. I will try to make use of the java code that the set-logging-level landing page internally calls.
Coming back to the logger levels, please do share if you have come across any logger/Class which you have felt useful to enable debug & gives good information.
From ML7, one can debug monitored nodes sending alerts, exceptions and health send to AES by simply enabling debug level for class 'com.pega.pegarules.priv.util.SOAPAppenderPega' without having to modify prlogging.