I'm trying to tell Websphere Liberty where is located my log4j2.xml
file, but it isn't working.
In my file jvm.options
I configure:
-Dlog4j.configurationFile=file:///${server.config.dir}/log4j2.xml
but it looks like Liberty does not understand the variable ${server.config.dir} in the jvm.options file. The file is in the same directory of the server.xml
file.
How would I specify the log4j2.xml location for Liberty?