Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is no catalina.out

I have no idea, how and what to set up, to have catalina.out on the Tomcat on my computer.

I use Tomcat 6.0.28, zipped-version on Windows XP. To start server I just run startup.bat-file.

Do I do something wrong?!

Thanks in advance for any advices.

Mur

[Edited] All records (Exceptions or System.out) will be written in console window. Where to set up, that they would be written to catalina.out?

As I wrote in one of my comments, if I install Tomcat with setup-version, all messages occur in stdout_YYYYMMDD.log and I don't see, where to change this.

like image 907
Tima Avatar asked Aug 16 '10 08:08

Tima


People also ask

Where can I find Catalina out?

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.

What is the use of Catalina out?

Catalina. out simply contains everything that is written to Tomcat's "System.

Can I delete Catalina out?

If you stop tomcat, you can delete all files without any problems. Without stopping, you can remove everything except catalina. out. After stopping the tomcat, you can clear out the contents under Logs folder of tomcat directory.


1 Answers

Looks like Tomcat 6 on Windows does not write to catalina.out

I can see why this is happening, but not sure where to fix it.

catalina.sh has this line which sends the System outs into catalina.out

"$CATALINA_BASE"/logs/catalina.out 2>&1

this line is missing from catalina.bat which is why this does not appear on windows.

like image 123
newtoallthis Avatar answered Oct 05 '22 07:10

newtoallthis