Log4j Public API issues
Hello team,
I have a requirement to modify the standard log files so I customized the log4j appender and patterns and I imported a jar file to pega.
I used prpublic.jar to retrieve informations from pega data pages but I have an issue when I use ThreadContainer.get().getPublicAPI() to retrieve pega public API,I get a null pointer exception
on ThreadContainer.get().getPublicAPI()
PublicAPI api = ThreadContainer.get().getPublicAPI();
ClipboardProperty property = api.findPage("pxRequestor").getProperty("pzRequestorId");
if (property != null) {
return property.getStringValue();
}
Any suggestions please !! Thank you .
Best Regards,
Imen