File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

System.out.println in Tomcat

 
Ken Shamrock
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I open tomcat in console and System out something, I can see in console, but if tomcat is startup as a service, I don't have console,
how can I see the System.out. things? Thanks
 
Dominic Paquette
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think that when tomcat is run as an NT service it redirects the output to the file stdout.log. Look in your logs directory
Hope this helps
Dominic
 
Ken Shamrock
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I misslook this
 
Jeff Grant
Ranch Hand
Posts: 169
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ken Shamrock:
Thanks. I misslook this

I'm not sure if that means you figured it out or not.
So here is my suggestion... just do an out.print(String) if you want to see something. That way you'll see it right in your browser without having to go through the logs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic