• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is the RUNNING console when Tomcat is running

 
Eli Ean
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
When I used Eclipse I could see all the output messages (of System.out.println) shown LIVE in the console of Eclipse.
Now there is running Tomcat in a remote server without an Eclipse around.

The places I've searched so far:

1. tomcat/logs/stdout.log   - Shows the wanted messages - bot not in LIVE. I mean with this file (tomcat/logs/stdout.log ), in order to watch the updated
messages I need to open the file every time again and again and again,
while I would like to watch the messages immediately as they come (as in Eclipse console..I call it LIVE).
2. tomcat/logs/catalina.log  -shows just details about the tomcat lasts startup.
3. catalina.out - I've been told it might be there but I don't find that file

Do you know where can I find this kind of living stream?

Thanks,
        Eli.
 
Tim Moores
Bartender
Posts: 3129
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Linux you can use "tail -f stdout.log", or on OS X the Console app. Those show file changes in real-time without the need for the user to do anything. I'm sure Windows has something similar.
 
Eli Ean
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem was solved.  
Thanks Tim.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic