-2

How do I access the tomcat console.log files in jelastic?

So that I can see.

`System.out.println("I want to see this message");
lit
  • 450
  • 4
  • 14

2 Answers2

2

xxLITxx,

You can find your console.log in catalina.out file. Also, you can edit conf/logging.properties and change the line:

.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

to

.handlers = 1catalina.org.apache.juli.FileHandler

Then Tomcat will only log to catalina.log file.

Let us know if you need anything else, Jelastic Support!

Virtuozzo
  • 1,993
  • 1
  • 10
  • 13
2

File found in the folder /opt/tomcat/logs/catalina.out

lit
  • 450
  • 4
  • 14