• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where is the RUNNING console when Tomcat is running

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 7602
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem was solved.  
Thanks Tim.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic