Setting the path to Linux installation logs
By default, when you run startup.sh, your installation log files are saved in a logs/ subdirectory relative to the directory from which you run startup.sh. For example, in $tomcat, running bin/startup.sh makes logs appear in $tomcat/logs/. To log to the same directory at all times, in Legacy Content Delivery 's WEB-INF/log4j.xml, specify the full path to your $tomcat/logs directory.