I had a JavaSE app with main() method. I need to run it in a cloud. A good choice is Jelastic. So I converted my project to Dynamic Web project (Project Facets in Eclipse), created a ServletContextListener and put all my code from main() in that Servlet contextInitialized() method. My code has System.out.println and logging (slf4j) statements - In my Eclipse IDE I see all that output in console view. But as I deploy the project in Tomcat in the cloud - I am totally lost where too look for console output. I guess it is somewhere in the logs, but I cannot find those logs...
Asked
Active
Viewed 576 times
0
-
What cloud provider? What operating system? Do you have access to the machine (i.e. via ssh or remote desktop)? – stdunbar Apr 23 '18 at 20:47
2 Answers
1
If you are looking for tomcat logs in Jelastic then just hover on the application server and press "Log" button.

Ruslan
- 395
- 3
- 12