Question
4
Replies
71
Views

Cognizant
IN
Posted: February 3, 2021
Last activity: July 19, 2021
Last activity: 19 Jul 2021 14:36 EDT
Closed
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***