Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello Windchill Gurus,
We have a requirement to print some Environment Variables at the beginning of the MS Log. I would like to know the MS Log Writer classes/methods to follow the lead to write our custom line.
Any quick help regarding this is greatly appreciated. Thanks all for help in advance.
Thanks & Best Regards,
Mahesh KL
Hi,
Log4j handles the notation ${env:VARIABLE}, but only with a version greater thant 2.0
No luck, PDMLink uses the 1.2.17, even in PDMLink 11.
A solution is to create your own patter layout, like this : https://fw-geekycoder.blogspot.fr/2010/07/creating-log4j-custom-patternlayout.html