Log4j2 - custom Logger config entered in custom_wrapper.conf is not reflecting

I am trying to write a custom log file using log4j2 which comes along with webMethods10.5.
Please clarify on this. If we are adding new log4j config entry in custom_wrapper.conf. do we need to move the existing predefined entry in wrapper.conf also to custom_wrapper.conf. because I use 10.5 and it has a default entry in wrapper.conf and when I add a new config file entry in custom_wrapper.conf. it’s not getting loaded. I have verified in wrapper.log
wrapper.conf:
wrapper.java.additional.4=-Dlog4j.configurationFile="/webMethods/webmethods600/profiles/IS_default/configuration/logging/log4j2.properties"
wrapper.java.additional.4.stripquotes=TRUE
custom_wrapper.conf:
wrapper.java.additional.204=-Dlog4j.configuration="/webMethods/webmethods600/appProperties/Log4j2Demo.xml"
wrapper.java.additional.204.stripquotes=TRUE

I could not see even the log4j2.properties getting loaded in wrapper.log

Thanks in Advance!
Vignesh

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.