Question 61 Views Dhananjay Ubale (DhananjayU) Self Dhananjay Ubale Self US View Profile Send Message DhananjayU Member since 2021 2 posts Self Posted: June 28, 2021 Last activity: July 1, 2021 Posted: 28 Jun 2021 14:18 EDT Last activity: 1 Jul 2021 10:37 EDT Closed Custom logging - Add pyID automatically Report When a developer uses Log-Message/pxLogMessage then Pega prefixes certain key attributes before the custom message. Looking to add pyID or custom attributes. Ex log - 2021-06-28 14:02:35,423 [default task-66] [STANDARD]  [Play:01.01.01] (Session.Embed_Requestor.Action) ERROR localhost| OperID - Testng simple log message Three questions- 1) Is there any way OOTB to add pyID automatically in one of the square brackets? Custom logger or anything in log4j? 2) Also soon after time stamp what is the first square [default task-66] ? 3) Is there anything in PDC which gives ability to print pyID? Data collected by Pega Predictive Diagnostic Cloud | Pega -> Data Security -> DSS prconfig/alerts/parameterpage/allowedkeywords/default - Is pyID a valid parameter which can go in this DSS. FYI Reason for printing pyID - We are using stateless DX API - say any exception occurs in DX API- we want to relate the failure to userid/caseid. Pega Platform Dev/Designer Studio Java and Activities User Experience Lead System Architect Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied! Moderation Team has archived post, learn more 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.