Question
Cognizant
IN
Last activity: 19 Jul 2021 14:36 EDT
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