Tomcat Cosole in Linux

Source: Internet
Author: User
In Linux, Tomcat's Cosole-Linux Enterprise Application-Linux server application information. The following is a detailed description. In Linux, we often use sh stratrup. sh to start Tomcat.

You will find that Cosole does not appear, that is, when started in Windows, the CMD window, some debugging information and logs are usually printed here.

This Cosole is crucial for a developer, because debugging information is in it. Without this information, you do not know what happened. You can view the log, but not real-time.

Is there any way to see this Cosole? You can find two methods on the Internet, one is to install other software packages, and the other is to use commands.

The command is as follows:

Tail-f % tomcat %/logs \ catalina. out

Replace % tomcat % with your tomcat installation path.

Tail is a command for viewing files.-f indicates real-time retrieval of this file, which is often used in monitoring logs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.