Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Instance Analysis of Log Files in tomcat logs Directory

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "instance analysis of log files under the tomcat logs directory". In daily operation, I believe that many people have doubts about the case analysis of log files under the tomcat logs directory. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "instance analysis of log files under the tomcat logs directory". Next, please follow the editor to study!

Each time tomcat starts, the following log files are automatically produced in the logs directory and automatically backed up by date. It can help us find mistakes better.

1 、 catalina. Date .log

1. It mainly records the information when tomcat starts.

2. Startup JVM parameters and operating system and other log information

3. No log mechanism such as log4j is used, and the error messages and print statements of the system are also recorded in this log file.

4. All logs under linux are in catalina.out.

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log Server 45 org.apache.catalina.startup.VersionLoggerListener.log Server 16.836 information [main]. Server version: Apache Tomcat/9.0.35

09-Dec-2021 10 09-Dec-2021 45 09-Dec-2021 16.851 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Server Construction: May 5 2020 20:36:20 UTC

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log server version (: 9.0.35.0) Information [main]

09-Dec-2021 10 Windows 45 09-Dec-2021 16.851 Information [main] org.apache.catalina.startup.VersionLoggerListener.log operating system name: Windows 10

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log OS 45 org.apache.catalina.startup.VersionLoggerListener.log OS 16.851 information [main]. Version: 10.0

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log 45 09-Dec-2021 16.851 Information [main] Architecture: amd64

09-Dec-2021 10 jdk1.8.0_261 45 jdk1.8.0_261 16.851 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Java environment variable: d:\ jdk1.8.0_261\ jre

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log Java 45 09-Dec-2021 16.852 Information [main] Virtual Machine version: 1.8.0_261-b12

09-Dec-2021 10 org.apache.catalina.startup.VersionLoggerListener.log JVM 45 org.apache.catalina.startup.VersionLoggerListener.log JVM 16.852 information [main]. Supplier: Oracle Corporation

09-Dec-2021 10 09-Dec-2021 45 Desktop 16.852 Information [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 10 09-Dec-2021 45 Desktop 16.852 Information [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 10 Users 45 09-Dec-2021 16.863 Information [main] Command Line argument:-Djava.util.logging.config.file=C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ logging.properties

09-Dec-2021 10 Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 45 org.apache.catalina.startup.VersionLoggerListener.log 16.863 Information [main] Command Line argument:-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

09-Dec-2021 10 Djdk.tls.ephemeralDHKeySize=2048 45 org.apache.catalina.startup.VersionLoggerListener.log 16.863 Information [main] Command Line argument:-Djdk.tls.ephemeralDHKeySize=2048

09-Dec-2021 10 Djava.protocol.handler.pkgs=org.apache.catalina.webresources 45 org.apache.catalina.startup.VersionLoggerListener.log 16.863 Information [main] Command Line argument:-Djava.protocol.handler.pkgs=org.apache.catalina.webresources

09-Dec-2021 10 Dignore.endorsed.dirs= 45 org.apache.catalina.startup.VersionLoggerListener.log 16.863 Information [main] Command Line argument:-Dignore.endorsed.dirs=

09-Dec-2021 10 Users 45 09-Dec-2021 16.863 Information [main] Command Line argument:-Dcatalina.base=C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 10 Users 45 09-Dec-2021 16.864 Information [main] Command Line argument:-Dcatalina.home=C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 10 Users 45 09-Dec-2021 16.865 Information [main] Command Line argument:-Djava.io.tmpdir=C:\ Users\ 21180\ Desktop\ Tomcat9-2\ temp

09-Dec-2021 10 jdk1.8.0_261 45 09-Dec-2021 16.866 Information [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent at: [d:\ jdk1.8.0_261\ jre\ bin;C:\ WINDOWS\ Sun\ Java\ bin;C:\ WINDOWS\ system32;C:\ WINDOWS;D:\ jdk1.8.0_261\ bin;D:\ jdk1.8.0_261\ jre\ bin;D:\ oracle\ product\ 10.2.0\ db_1\ BIN;C:\ WINDOWS\ system32 C:\ WINDOWS;C:\ WINDOWS\ System32\ Wbem;C:\ WINDOWS\ System32\ WindowsPowerShell\ v1.0\; C:\ WINDOWS\ System32\ OpenSSH\; C:\ Sybase\ shared;D:\ apache-maven-3.6.1\ bin;D:\ Git\ cmd;C:\ Program Files\ MySQL\ MySQL Shell 8.0\ bin\; C:\ Users\ 21180\ AppData\ Local\ Microsoft\ WindowsApps;;.] No APR-based Apache Tomcat native library can be found on the, which allows for optimal performance in a production environment

09-Dec-2021 10 http-nio-8880 45 09-Dec-2021 18.370 message [main] org.apache.coyote.AbstractProtocol.init initialization protocol processor ["http-nio-8880"]

09-Dec-2021 10 09-Dec-2021 45 org.apache.catalina.startup.Catalina.load 18.610 message [main] initialization of the server within [2348] milliseconds

09-Dec-2021 10 Catalina 45 09-Dec-2021 18.734 Information [main] org.apache.catalina.core.StandardService.startInternal is starting the service [Catalina]

09-Dec-2021 10 Apache Tomcat/9.0.35 45 Servlet 18.735 Information [main] org.apache.catalina.core.StandardEngine.startInternal is starting the Servlet engine: [Apache Tomcat/9.0.35]

09-Dec-2021 10 Users 45 Desktop 18.773 Information [main] org.apache.catalina.startup.HostConfig.deployDescriptor is deploying the deployment descriptor [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ Catalina\ localhost\ werp.xml].

09-Dec-2021 10 Users 45 18. 852 warns [main] that the path attribute with the value [/ werp] in the org.apache.catalina.startup.HostConfig.deployDescriptor deployment descriptor [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ Catalina\ localhost\ werp.xml] has been ignored

09-Dec-2021 10docBase 4545 09-Dec-2021 18.865 warning [main] org.apache.catalina.startup.HostConfig.deployDescriptor (: docBase [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ werp] is specified in the host appBase and will be ignored

09-Dec-2021 10 Context 45 09-Dec-2021 18.952 warns [main] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule] {Context} Setting property 'debug' to' 0' did not find a matching property.

09-Dec-2021 10 sso* 45 09-Dec-2021 35.803 Information [main] org.apache.catalina.core.StandardContext.checkUnusualURLPattern suspicious URL pattern: [/ sso*] in the context [/ werp], see sections 12.1 and 12.2 of the Servlet specification

09-Dec-2021 10 09-Dec-2021 45 JAR 37.060 Information [main] org.apache.jasper.servlet.TldScanner.scanJars at least one JAR is scanned for TLD but does not contain TLD. Enable debug logging for this logger to get a complete list of JAR that was scanned but TLD was not found in it. Skipping unwanted JAR during scanning can reduce startup time and JSP compilation time.

09-Dec-2021 10 com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12 45 com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12 37.704 Information [main]: JAX-WS context listener initializing

09-Dec-2021 10 com.sun.xml.ws.transport.http.servlet.WSServletDelegate 45 com.sun.xml.ws.transport.http.servlet.WSServletDelegate 39.256 information [main]. WSSERVLET14: JAX-WS servlet initializing

09-Dec-2021 10 Users 46 Users 15.034 Information [main] org.apache.catalina.startup.HostConfig.deployDescriptor deployment descriptor [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ Catalina\ localhost\ werp.xml] has been deployed in [56261] ms

09-Dec-2021 10 Users 46 Users 15.038 Information [main] org.apache.catalina.startup.HostConfig.deployDirectory deploy the web application to a directory [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ docs]

09-Dec-2021 10 Users 46 Users 15.088 Information [main] the deployment of the org.apache.catalina.startup.HostConfig.deployDirectory Web application directory [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ docs] was completed in [50] milliseconds.

09-Dec-2021 10 Users 46 Users 15.097 Information [main] org.apache.catalina.startup.HostConfig.deployDirectory deploy the web application to a directory [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ manager]

09-Dec-2021 10 Users 46 Users 15.219 Information [main] the deployment of the org.apache.catalina.startup.HostConfig.deployDirectory Web application directory [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ manager] was completed in [122] milliseconds.

09-Dec-2021 10 Users 46 web 15.221 Information [main] org.apache.catalina.startup.HostConfig.deployDirectory deploy the web application to a directory [C:\ Users\ 21180\ Desktop\ Users-2\ webapps\ ROOT]

09-Dec-2021 10 Users 46 Users 15.273 Information [main] the deployment of the org.apache.catalina.startup.HostConfig.deployDirectory Web application directory [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ ROOT] was completed in [52] milliseconds

09-Dec-2021 10 http-nio-8880 46 http-nio-8880 15.280 message [main] org.apache.coyote.AbstractProtocol.start start protocol handle ["http-nio-8880"]

09-Dec-2021 10 org.apache.catalina.startup.Catalina.start 46 org.apache.catalina.startup.Catalina.start 15.296 message [main] server starts after milliseconds

09-Dec-2021 10org.apache.catalina.core.StandardServer.await 52VR 00.552 message [main] org.apache.catalina.core.StandardServer.await received a valid shutdown command by closing the port. Stopping the server instance.

09-Dec-2021 10org.apache.coyote.AbstractProtocol.pause main information [main] pause ProtocolHandler ["http-nio-8880"]

09-Dec-2021 10org.apache.catalina.core.StandardService.stopInternal 52VR 00.731 message [main] org.apache.catalina.core.StandardService.stopInternal is out of service [Catalina]

09-Dec-2021 10VR 52VR 00.914 Information [main] com.sun.xml.ws.transport.http.servlet.WSServletDelegate.destroy WSSERVLET15: JAX-WS servlet destroyed

09-Dec-2021 10VR 52VR 00.919 Information [main] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextDestroyed WSSERVLET13: JAX-WS context listener destroyed

09-Dec-2021 10werp 52org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc Web 00.933 warns [main] the JDBC application [werp] registers the JDBC driver [oracle.jdbc.OracleDriver], but cannot log it out when the Web application stops. To prevent memory leaks, the JDBC driver has been forcibly unregistered.

09-Dec-2021 10 org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web 52VR 00.934 warns [main] that the org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web application [werp] appears to have started a thread named [Thread-4], but failed to stop it. This is likely to cause a memory leak. Stack trace of the thread: [

Java.lang.Thread.sleep (Native Method)

Com.ebig.message.engine.EmailThread.run (EmailEngine.java:547)]

09-Dec-2021 10 org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web 52VR 00.944 warns [main] that the org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web application [werp] appears to have started a thread named [Thread-33], but failed to stop it. This is likely to cause a memory leak. Stack trace of the thread: [

Java.lang.Object.wait (Native Method)

Java.lang.Object.wait (Object.java:502)

Com.ebig.log.EbigLoggerEngine.popLog (EbigLoggerEngine.java:65)

Com.ebig.log.LogThreadListener.run (LogThreadListener.java:22)]

09-Dec-2021 10 org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web 52VR 01.008 warns [main] that the org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web application [werp] appears to have started a thread called [SchedulerServiceEvent], but failed to stop it. This is likely to cause a memory leak. Stack trace of the thread: [

Java.lang.Object.wait (Native Method)

Java.lang.Object.wait (Object.java:502)

Com.ebig.servicemgr.kernel.EventQueue.get (EventQueue.java:21)

Com.ebig.servicemgr.kernel.EventListenerLoop.run (EventListenerLoop.java:33)

Java.lang.Thread.run (Thread.java:748)]

09-Dec-2021 10org.apache.coyote.AbstractProtocol.stop 52VR 01.195 message [main] org.apache.coyote.AbstractProtocol.stop is stopping ProtocolHandler ["http-nio-8880"]

09-Dec-2021 10org.apache.coyote.AbstractProtocol.destroy 52VR 01.203 message [main] org.apache.coyote.AbstractProtocol.destroy is destroying the protocol processor ["http-nio-8880"]

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log Server 43.731 information [main]. Server version: Apache Tomcat/9.0.35

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.781 Information [main] Server Construction: May 5 2020 20:36:20 UTC

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.781 Information [main] version number of org.apache.catalina.startup.VersionLoggerListener.log server (: 9.0.35.0)

09-Dec-2021 12 Windows 0015 43.781 Information [main] org.apache.catalina.startup.VersionLoggerListener.log operating system name: Windows 10

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log OS 43.781 information [main]. Version: 10.0

09-Dec-2021 12VOV 00VOR 43.781 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64

09-Dec-2021 1200 jdk1.8.0_261 43.781 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Java environment variable: d:\ jdk1.8.0_261\ jre

09-Dec-2021 12virtual machine version of org.apache.catalina.startup.VersionLoggerListener.log Java [main]: 1.8.0_261-b12

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log JVM 43.782 information [main]. Supplier: Oracle Corporation

09-Dec-2021 1200 Users 43.782 Information [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 1200 Users 43.782 Information [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 1200 Users 43.827 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Command Line argument:-Djava.util.logging.config.file=C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ logging.properties

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.827 Information [main] Command Line argument:-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.828 Information [main] Command Line argument:-Djdk.tls.ephemeralDHKeySize=2048

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.828 Information [main] Command Line argument:-Djava.protocol.handler.pkgs=org.apache.catalina.webresources

09-Dec-2021 1200 org.apache.catalina.startup.VersionLoggerListener.log 43.828 Information [main] Command Line argument:-Dignore.endorsed.dirs=

09-Dec-2021 1200 Users 43.828 Information [main] org.apache.catalina.startup.VersionLoggerListener.log Command Line argument:-Dcatalina.base=C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 1200 Users 43.829 Information [main] org.apache.catalina.startup.VersionLoggerListener.log command line argument:-Dcatalina.home=C:\ Users\ 21180\ Desktop\ Tomcat9-2

09-Dec-2021 1200 Users 43.829 Information [main] org.apache.catalina.startup.VersionLoggerListener.log command line argument:-Djava.io.tmpdir=C:\ Users\ 21180\ Desktop\ Tomcat9-2\ temp

09-Dec-2021 1200java.library.path 43.829 Information [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent at java.library.path: [D:\ jdk1.8.0_261\ jre\ bin;C:\ WINDOWS\ Sun\ Java\ bin;C:\ WINDOWS\ system32;C:\ WINDOWS;D:\ jdk1.8.0_261\ bin;D:\ jdk1.8.0_261\ jre\ bin;D:\ oracle\ product\ 10.2.0\ db_1\ BIN;C:\ WINDOWS\ system32 C:\ WINDOWS;C:\ WINDOWS\ System32\ Wbem;C:\ WINDOWS\ System32\ WindowsPowerShell\ v1.0\; C:\ WINDOWS\ System32\ OpenSSH\; C:\ Sybase\ shared;D:\ apache-maven-3.6.1\ bin;D:\ Git\ cmd;C:\ Program Files\ MySQL\ MySQL Shell 8.0\ bin\; C:\ Users\ 21180\ AppData\ Local\ Microsoft\ WindowsApps;;.] No APR-based Apache Tomcat native library can be found on the, which allows for optimal performance in a production environment

09-Dec-2021 12VOUGUR 45.310 information [main] org.apache.coyote.AbstractProtocol.init initialization protocol processor ["http-nio-8880"]

09-Dec-2021 12 org.apache.catalina.startup.Catalina.load server initialization in [2113] milliseconds

09-Dec-2021 1200 org.apache.catalina.core.StandardService.startInternal 45.558 message [main] org.apache.catalina.core.StandardService.startInternal is starting the service [Catalina]

09-Dec-2021 1200 Servlet 45.560 Information [main] org.apache.catalina.core.StandardEngine.startInternal is starting the Servlet engine: [Apache Tomcat/9.0.35]

09-Dec-2021 1200 Users 45.581 Information [main] org.apache.catalina.startup.HostConfig.deployDescriptor is deploying the deployment descriptor [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ Catalina\ localhost\ werp.xml].

09-Dec-2021 1200 Users 45.617 warns [main] that the path attribute with the value [/ werp] in the org.apache.catalina.startup.HostConfig.deployDescriptor deployment descriptor [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ conf\ Catalina\ localhost\ werp.xml] has been ignored

09-Dec-2021 1200appBase 45.625 warning [main] org.apache.catalina.startup.HostConfig.deployDescriptor (: docBase [C:\ Users\ 21180\ Desktop\ Tomcat9-2\ webapps\ werp] is specified in the host appBase and will be ignored

09-Dec-2021 1200 SetContextPropertiesRule 45.654 warns [main] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule] {Context} Setting property 'debug' to' 0' did not find a matching property.

09-Dec-2021 1200 org.apache.catalina.startup.Catalina.stopServer 52.657 serious [main] org.apache.catalina.startup.Catalina.stopServer cannot contact [localhost:8805] (base port [8805] and offset [0]). Tomcat may not be running.

An error occurred while stopping Catalina for 09-Dec-2021 12VOV 00RV 52.660 serious [main] org.apache.catalina.startup.Catalina.stopServer

Java.net.ConnectException: Connection refused: connect

At java.net.DualStackPlainSocketImpl.connect0 (Native Method)

At java.net.DualStackPlainSocketImpl.socketConnect (DualStackPlainSocketImpl.java:75)

At java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:476)

At java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:218)

At java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:200)

At java.net.PlainSocketImpl.connect (PlainSocketImpl.java:162)

At java.net.SocksSocketImpl.connect (SocksSocketImpl.java:394)

At java.net.Socket.connect (Socket.java:606)

At java.net.Socket.connect (Socket.java:555)

At java.net.Socket. (Socket.java:451)

At java.net.Socket. (Socket.java:228)

At org.apache.catalina.startup.Catalina.stopServer (Catalina.java:513)

At sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethod)

At sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

At java.lang.reflect.Method.invoke (Method.java:498)

At org.apache.catalina.startup.Bootstrap.stopServer (Bootstrap.java:389)

At org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:479)

09-Dec-2021 12org.apache.catalina.startup.Catalina.stopServer 01org.apache.catalina.startup.Catalina.stopServer 02.320 critical [localhost:8805] cannot contact [localhost:8805] (base port [8805] and offset [0]) Tomcat may not be running.

An error occurred while stopping Catalina for 09-Dec-2021 12org.apache.catalina.startup.Catalina.stopServer 01VR 02.323 serious [main] org.apache.catalina.startup.Catalina.stopServer

Java.net.ConnectException: Connection refused: connect

At java.net.DualStackPlainSocketImpl.connect0 (Native Method)

At java.net.DualStackPlainSocketImpl.socketConnect (DualStackPlainSocketImpl.java:75)

At java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:476)

At java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:218)

At java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:200)

At java.net.PlainSocketImpl.connect (PlainSocketImpl.java:162)

At java.net.SocksSocketImpl.connect (SocksSocketImpl.java:394)

At java.net.Socket.connect (Socket.java:606)

At java.net.Socket.connect (Socket.java:555)

At java.net.Socket. (Socket.java:451)

At java.net.Socket. (Socket.java:228)

At org.apache.catalina.startup.Catalina.stopServer (Catalina.java:513)

At sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethod)

At sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

At java.lang.reflect.Method.invoke (Method.java:498)

At org.apache.catalina.startup.Bootstrap.stopServer (Bootstrap.java:389)

At org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:479)

2 、 commons-daemon. Date .log

1. It is estimated that the service mode is used to start tomcat as the logging of the daemon.

[2017-12-16 15:45:49] [info] [1706572] Commons Daemon procrun (1.0.15.0 64-bit) started

[2017-12-16 15:45:49] [info] [1706572] Running 'Tomcat7' Service...

[2017-12-16 15:45:49] [info] [1706632] Starting service...

[2017-12-16 15:45:51] [info] [1706632] Service started in 1617 ms.

[2017-12-16 15:50:57] [info] [1716024] Stopping service...

[2017-12-16 15:50:58] [info] [1716024] Service stop thread completed.

[2017-12-16 15:50:59] [info] [1706572] Run service finished.

[2017-12-16 15:50:59] [info] [1706572] Commons Daemon procrun finished

[2017-12-16 15:51:21] [info] [1711056] Commons Daemon procrun (1.0.15.0 64-bit) started

[2017-12-16 15:51:22] [info] [1711056] Running 'Tomcat7' Service...

[2017-12-16 15:51:22] [info] [1716072] Starting service...

[2017-12-16 15:51:23] [info] [1716072] Service started in 1511 ms.

3 、 host-manager. Date .log

It is estimated that you put the log information of the manager project that comes with tomcat, and you don't see any important log information.

4 、 localhost. Date .log

Similar to catalina logs, but the information is not as complete as catalina

5 、 localhost_access_log. Date .txt

Store all addresses of requests to access tomcat, as well as the path, time, request protocol and return code of the request (important)

6 、 manager. Log. Log

It is estimated that it is also a log file specific to the manager project, and there is no important information.

7 、 tomcat7-stderr. Date .log

This is the error log of log4j, so you should catch exceptions reasonably in the program.

8 、 tomcat7-stdout. Date .log

1. Information similar to the console of eclipse

2. Logs printed by System statements in the program (including exceptions thrown by the system).

At this point, the study of "instance analysis of log files under the tomcat logs directory" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report