When using Studio to generate a WAR file and a logback configuration file, a folder called “app.home_IS_UNDEFINED” is created in the ROOT tomcat directory and contains some log files.
To recreate, I can drop any WAR (with a generated logback configuration file) in the webapps folder of a fresh tomcat server.
It could be that I am doing something incorrectly.
I would recommend setting App home as described in the docs:
You can specify an absolute path or a path relative to the server working directory if you know in advance where the WAR will be deployed. If not, you can specify a placeholder for a Java system property and provide the real path at runtime.
The documentation also contains some examples. Let us know if it doesn’t work for you.
You are right.
We should use ${app.home} as a default value in “Application home directory” field as recommended in the docs. And also use current version of “Application home directory” when generating logback config.