1.进入Tomcat所在路径 我的是: /home/apache-tomcat-9.0.12 即: cd /home/apache-tomcat-9.0.12/logs 再输入:tail -f catalina.out 就OK了