I installed Apache Tomcat 8.5.9 using Homebrew on macOS Sierra. When I start the Tomcat server, catalina.out is not created as expected in /usr/local/Cellar/tomcat/8.5.9/libexec/logs.
I have tried:
- Redirecting the log file to another location using setenv.sh
echo "log file location $CATALINA_OUT"
in /usr/local/Cellar/tomcat/8.5.9/bin/catalina and it is set to the default location of libexec/logs/catalina.out. After this change, I can see that setenv.sh is modifying this location correctly.- Manually creating catalina.out in the default location and granting full privileges
I am seeing other logs like:
- catalina.[date].log
- host-manager.[date].log
- manager.[date].log
- localhost_access_log.[date].log
The Tomcat server is running fine as in I am able to run my WAR files and use my applications with no problems. None of the other logs indicate a problem creating catalina.out, as I would expect.