I'm using log4j 2.5 in a REST service.
There I would like to use the placeholder substitution to allow configuration of the log location.
I tried this:
This seems to work quite well with the exception, if myapp.logs is set, the path ends with "}". So if I set the system property "-Dmyapp.logs=foobar" it creates the directory "foobar}" and puts the logs into that. For the ENV substitution it works. It also works when NO placeholder nesting is performed. So I guess the problem has something todo with that.