There is a property in my pom.xml that I'd like to use in log4j2.xml. However log4j2 seems to not detect that property and the file cannot be created.
The property is defined in a following way:
<systemProperty>
<name>log.location</name>
<value>${project.build.directory}/logs</value>
</systemProperty>
And that how I refer to that in a log4j2.xml:
fileName="${sys:log.location}"