查看 tomcat 控制台日志方法
方法1:
tail -f /tomcat/logs/catalina.out
方法2:
$ ./catalina.sh run
就可以了。
debug模式:
$ ./catalina.sh debug
......
help (查看帮助)
exit(退出、终止tomcat)
catalina.sh [para]
para:
debug start Catalina in a debugger
debug -security debug catalina with a security manager.
run start Catalina in the current window.
run -security start Catalina in the current window with security manager.
start start Catalina in the separate window
start -security start Catalina in the separate window with security manager.
stop stop catalina.
stop -force stop catalina (followed by kill -KILL).
version version of tomcat