Question
3
Replies
18
Views
Cognizant
Posted: February 3, 2021
Last activity: February 26, 2021
tenant id in log4j2.xml not printing in log
Below tenant id in OOTB prpc843 log4j2.xml is not printing in the log file ; could you help us what prerequisites we need to configure? Do we need to add tenatid as jvm argument ?
pattern="%d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] ...
I replace the tenanted {tenantid} with my custom jvm argument like ${sys:appjvm} at run time but still it’s not capturing ; could you please help us
***Edited by Moderator: Pooja Gadige to add platform capability tag***
@Bhagath_Vasireddy
Can this be helpful maybe: https://community.pega.com/knowledgebase/articles/pega-platform-logging-log4j-2-logging-service