linux查看tomcat实时日志

来源:互联网 发布:oracle数据库语句大全 编辑:程序博客网 时间:2024/05/16 05:46

1、先切换到:cd  service/tomcat7/logs (tomcat7的logs目录)

2、tail -f catalina.out 

3、这样运行时就可以实时查看运行日志了

4、退出按Ctrl+C

原创粉丝点击