The simplest approach would be to use catalina.base
from the system properties in the logPath
property value
<property name="logPath" value="${catalina.base}/logs/mylog.log"/>
This property will be set by Tomcat's launch script (catalina.sh
/catalina.bat
) so will be available for use when Spring
loads the application context file.