一般习惯用 tail 的方式在服务器查看。 如果要取下 可以用 tail -2000 xxxx.log > temp.log 的方式获取最后2000行到temp.log,如果要修改的话,修改2000这个数字可以获取不同行数。