Question

222
Views
Dharma Reddy Tirupathigari (DharmaReddyT)
Deloitte Services LLP
Application Architect
Deloitte Services LLP
US
DharmaReddyT Member since 2017 1 post
Deloitte Services LLP
Posted: June 5, 2019
Last activity: June 6, 2019
Posted: 5 Jun 2019 15:56 EDT
Last activity: 6 Jun 2019 5:08 EDT
Closed

Logging to Microsoft application insights

Hi, we are trying to post logs to Microsoft application insights by adding custom appender. Application server(IBM Websphere with ear deployment) starts fine with an error - ClassNotFound on appender class. We tried below approaches to load classes (.jar file).

  • Created shared library and associated with application(ear) level and module level(prweb war)
  • Created custom class loader for the server and mapping it to a local jar file
  • Loading jar into pega db through import
  • Placing the jar in in APP-INF/lib and updating manifest file.

I have verified that the jar file shows up in "Class loader view" of admin console. I have attached the systemerr.log.

I am wondering if this is the right way to implement custom appenders (apart from those shipped with pega or apache log4j), if not what is the right way ?

I appreciate the responses.

Pega Platform Data Integration Support Case Exists
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.