How to view the log linux system

I. Use

  ps -ef | grep 8080 finalized you want to debug the server port number, know that it is deployed on the server.

II. To enter into this tomcat server, then cd logs

III. Use tail -50f catalina.out can be viewed in real-time log of cases in the window.

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11243667.html