Viewing Tomcat Logs

2022-05-11 0 By

Catalina. out refers to standard output and standard error logs, including logs generated by tomcat running itself and those generated by applications to console.Apache-tomcat-9.0.56 /logs directory contents [root@localhost logs]# lscatalina.2022-02-06.log localhost.2022-01-20.loglocalhost_access_log.2022-01-12.txt manager.2021-12-30.logcatalina.2022-02-07.log localhost.2022-01-21.log localhost_access_log.2022-01-13.txt manager.2022-01-04.logcatalina.out localhost.2022-01-22.log Localhost_access_log.2022-01-14.txt manager.2022-02-07.log View log content tail -f/ data/apache tomcat – 9.0.56 / logs/catalina out/root @ localhost ~ # tail -f/ data/apache tomcat – 9.0.56 / logs/catalina out2022-02-07 17:10:26. 9198-130 the INFO] [alina – utility – 1o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'17:10:26 2022-02-07. 9198-857 the INFO [alina – utility – 1] pers. Gl. ServletInitializer:Started ServletInitializer in 4.463 seconds (JVM running for 6348.299) 07-feb-2022 17:10:26.869 信息org.apache.catalina.startup.HostConfig.deployWAR The deployment of the Web application archive file [/data/apache-tomcat-9.0.56/webapps/gqsi.war] has been completed in [6,985]ms[io-8080-exec-11] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'The 2022-02-07 17:14:54. 9198-466 the INFO [IO – 8080 – exec – 11] O.S.W eb. Servlet. DispatcherServlet:Completed initialization in 15 ms