In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Tomcat has a total of five log types: application, server, console, etc. 1. Application log
The log is mainly for recording application events, and it is useful for application-level troubleshooting, such as slow application performance.
two。 Server log
The server log is the same as the console log, except that the server log is saved in a file and can be viewed at any time.
3. Console log
This log records the details of the startup and loader sequence of the tomcat, and the log file is called catalina.out. It is useful to troubleshoot server startup and application deployment errors. The configuration log is configured in catalina.sh.
4. Access log
This log is also very important and useful in analyzing the traffic, bandwidth requirements, and load of many applications. The log is configured in server.xml.
The log format can be defined by yourself:
5. Host manager
Activity logs performed using Tomcat Manager, such as different task execution, application status, application deployment, and tomcat lifecycle, are configured in logging.properties.
28 Jun, 2011 3:36:23 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'28 Jun, 2011 3:37:13 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'28 Jun, 2011 3:37:42 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: undeploy: Undeploying web application at'/ sample'28 Jun 2011 3:37:43 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'28 Jun, 2011 3:42:59 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'28 Jun, 2011 3:43:01 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'28 Jun, 2011 3:53:44 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host' localhost'
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.