前提进入tomcat/logs文件夹下


查看全部命令是:tail -f catalina.out

如果想查看具体文件的日志进入该文件所在目录然后命令如下:

tail -f filename