Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is Tomcat Console Output on Windows

I used to start tomcat from its bin folder with the startup.bat. By running that script it opened a java window in which I can see the outputs from tomcat. However, I've been told that this is not the right way to start tomcat on a windows server. Therefore I start tomcat now over the service program. By doing so no java window is being opened anymore and therefore I can't see the output msg from tomcat.

I have also looked into the logs folder of tomcat. Those saved outputs are not the same as the one I had/have in java window. Does anyone know where I can find those outputs?

Many thanks in advance for any advices.

like image 537
mkn Avatar asked Dec 02 '11 20:12

mkn


People also ask

How do I see tomcat console in Windows?

Access the Apache Tomcat console by browsing to http://localhost:8080/ (if installed as a non-root user) or http://localhost/ (if installed as the root user).

Where does system out go in tomcat?

Console. When running Tomcat on unixes, the console output is usually redirected to the file named catalina. out . The name is configurable using an environment variable.

Where are console logs stored in tomcat?

The main Apache Tomcat configuration file is at /opt/bitnami/tomcat/conf/server. xml. Once Apache Tomcat starts, it will create several log files in the /opt/bitnami/tomcat/logs directory. The main log file is the catalina.

Where is Catalina out located?

By default, the catalina. out file is located in the logs directory under Tomcat's root directory. For example, /opt/netiq/idm/apps/tomcat/logs/catalina. out.


1 Answers

If we assume your install is in C:\program files\apache software foundation\apache-tomcat{ver}\

then it is inside, in the log directory, in a file catalina.out.

C:\program files\apache software foundation\apache-tomcat{ver}\logs\catalina.out

It's worth to note the name of the file depends on your configuration, also the name of the logs directory can be different depending on configuration but I assume you preserved default config.

like image 95
Nikola Yovchev Avatar answered Sep 29 '22 04:09

Nikola Yovchev