Exception query for daily maintenance of the project

Log search

  1. Enter the log directory, for example: cd /home/tomcat/logs/
  2. Show catalina log file, for example: less catalina.out
  3. Capital G, jump to the end of the log file
  4. ctrl+c interrupt log output
  5. enter? +Search keywords, for example: ?Excepiton Enter to search for keywords Exception
  6. Lowercase n finds the previous one, uppercase N finds the next

Guess you like

Origin blog.csdn.net/Mr_linjw/article/details/113105312
Recommended