I would like to get the folder where are stored the log files. I use actually Mendix 15.9 (java 8). In the advanced setting, the folder's value is set in the Log path. I don't know if constant exist, just like : System.getProperty("log.dir"). I see nothing under the Core.getConfiguration() that it make me happy.... Thanks for you help.
All output to stdout and stderr within the java action is logged to the folowing file: C:\%path to your project%\deployment\log\m2ee_log.txt
The working directory at runtime is the C:\%path to your project%\deployment folder.