Questions tagged [catalina.out]

When running Tomcat on unixes, the console output is usually redirected to the file named catalina.out.

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. Whatever is written to System.err/out will be caught into that file. That may include:

  • Uncaught exceptions printed by java.lang.ThreadGroup.uncaughtException(..)
  • Thread dumps, if you requested them via a system signal

For more, please read: https://tomcat.apache.org/tomcat-7.0-doc/logging.html#Console

82 questions
1
vote
2 answers

Is it safe to delete catalina.out if Tomcat is stopped?

My catalina.out file has 37 GB which seems to prevent my app running correctly on a linux (Centos) server since the file takes up all my server space. I never thought that a log file can get this big. Would it be safe (I have no test server to try)…
Natalie
  • 445
  • 2
  • 5
  • 18
1
vote
0 answers

How to split catalina.out for tomcat?

I have log4j2.xml properties:
NEWjers
  • 11
  • 1
1
vote
2 answers

Deployment of an application finished in tomcat but it is actually not deployed

Catalina.out: [2020-04-10 11:48:26] [info] Manager: list: Listing contexts for virtual host 'localhost' [2020-04-10 11:48:26] [info] Manager: install: Installing web application '/api#v1' from…
1
vote
1 answer

Enable debug in Camunda

I would like to know if there is a way to enable Camunda debug? As I can only see the logs related to bpmn file deploy, as well as errors that could occur, in catalina.out file. My point is, I would like to debug the Rest API requests and responses…
camunda_user
  • 33
  • 1
  • 5
1
vote
1 answer

Filter out exceptions and routing to a file based on the instance

i have a scenario where i need to prepare/write exceptions to a file from the log file by grepping Instance name and writing all its related exceptions to Instance.txt example test-dom-01.txt,test-dom-01.txt,test-dom-04.txt ...so on with its…
Rczone
  • 493
  • 1
  • 5
  • 18
1
vote
1 answer

How do I move Tomcat catalina.out log to a different directory

I have a Tomcat7 server and I'd like to move the catalina.out log to a different directory than ${catalina.base}/logs. The approach of changing CATALINA_OUT environment variable doesn't work How do I change the path to catalina.out?, I've…
陳冠昇
  • 21
  • 3
1
vote
2 answers

ImmediateFlush not working in Log4j2

I am getting this error: ERROR asyncRoot contains an invalid element or attribute "immediateFlush" When I use immediateFlush attribute in appender in log4j2.xml.
1
vote
1 answer

How to print log on Tomcat logs folder

I am using Log4j to print logs. Its successfully print the logs on spring console, but i need to check, how its printing them on catalina. Normally on server we write this tail -f /var/log/tomcat8/catalina.out, but how to view this on local…
dev90
  • 7,187
  • 15
  • 80
  • 153
1
vote
1 answer

Control SQL logging level in Catalina.out

Our app runs on Tomcat 8 and Linux. We have log4j.xml shipped with the war that controls the level of logging for our applications logging. The log4j also defines logging levels for SQL. In hibernate.cfg.xml, the "hibernate.show_sql" is set to…
blueSky
  • 649
  • 5
  • 13
  • 31
1
vote
0 answers

3rd party jar logs in tomcat catalina.out

I am using a library jar with my code. This jar uses the java.util.Logger for logging purposes. In our code we use log4j2 & write the logs to project.log in tomcat/logs. The issue is, the jar's logs are written to tomcat's catalina.out. I want…
Somesh Gupta
  • 277
  • 1
  • 4
  • 20
1
vote
0 answers

Tomcat doesn't log to catalina.out, nor does it create log file I specified

I've got CentOS 7 installed on my machine (Basic Web Server with Java Servlet Engine - Tomcat), and I have Spring Boot app. If I build my app as a jar, and run it on server with java -jar my_app.jar, the app starts fine, and logs to file specified…
zkristic
  • 629
  • 1
  • 9
  • 24
1
vote
0 answers

Configure Apache/Tomcat for large number of webapps

The most common error we receive in catalina.out is: Exception in thread "main" java.lang.OutOfMemoryError: PermGen space We have web services installed that requires up to 100 Tomcat webapps be started and run all at the same time. Docs indicate…
LuvnJesus
  • 631
  • 4
  • 9
1
vote
0 answers

Liferay portal 6.2 CE-GA2 ERROR [http-bio-80-exec-159][VirtualHostFilter:323] ClientAbortException: java.net.SocketException: Connection reset

In Linux Centos, I started up my liferay portal 6.2 ce-ga2. Every things were okay, but I saw these erorrs in catalina.out log file: 17:14:34,272 ERROR [http-bio-80-exec-159][VirtualHostFilter:323] ClientAbortException: …
brelian
  • 403
  • 2
  • 15
  • 31
1
vote
0 answers

Tomcat : Issue with catalina.out file too big on Windows server

When I was running my webapp (J2EE / Tomcat) on a linux server, I had no problem with catalina.out file thanks to logrotate process on linux. But on Windows environments this doesn't exist, and catalina file is getting very big. Is there a way to…
user1260928
  • 3,269
  • 9
  • 59
  • 105
1
vote
0 answers

Catalina.out file customization

I need to combine the exceptions lines in the Catalina.out file. How would I do that? For example : Mar 13, 2015 10:31:46 AM org.apache.solr.common.SolrException log SEVERE: null:java.lang.IndexOutOfBoundsException: toIndex = 140 at…