linux查看日志报错

查看运行时错误:

tail  -f  catalina.out   | grep   -C   10  'Exception'          10是行数; 单引号里面的是要查找的关键字; 

原文地址:https://www.cnblogs.com/superming/p/11793423.html