i've got an issue with my log4j2.yml configuration file - the following piece of configuration does not work as expected:
fileName: "${baseName}/logs/${project.build.finalName}.log"
filePattern: "${baseName}/logs/%d{yyyy-MM-dd}_${project.build.finalName}.log.gz"
variable ${baseName} has been declared in the application.properties file:
baseName="d:\dev\dd"
yaml support has been added via the following dependency in the build.gradle file:
compile "com.fasterxml.jackson.core:jackson-core"
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml"
When I built my project, i had a ${baseName} directory in the project root directory. The value "d:\dev\dd" has not been assigned to the ${baseName} variable for some reasons.
Any ideas how to handle this?