I want use a deployment plan to be able to change the locations of the log files to something other than what is configured in the log4j2.xml file.
I've started with just trying to change the filename for the application-log appender, but it doesn't have effect when I deploy on a WebLogic 22.214.171.124 server, and I find that log4j still uses the specification in the xml config file. I have not worked with deployment plans before, so I'm sure I'm doing something wrong. These are the bits of the Plan.xml file which I am expecting to change the location where the application-log file is written:
I wasn't too sure on what to use as the <root-element>, so I used the root element of the log4j config file.
Any suggestions on what I might be missing?
log4j2.xml Plan.xml Internal Structure of xcma.war Application Root Structure