• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse / MyEclipse - Logging console output ?

 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does anyone how how we can redirect MyEclipse console output to a file rather then it been outputted to the console ?

Kind Regards,

Sajjad
 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean to ask how we can redirect console output from Tomcat to a Log file ?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try editing Tomcat's logging config file. In standalone Tomcat 6.0.29 it is at config/logging.properties.
 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for the suggestion. I was looking for some way to redirect the tomcat inbuilt with eclipse ?

Kind Regards,
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know of any way to tell Eclipse to redirect its Console output to a file, which is why I suggested modifying a Tomcat config file. And as far as i can tell, there is no Tomcat built into Eclipse - when you created a Tomcat server you had to point Eclipse at a Tomcat installed on your system. At least, that is what I have to do. Unless you have some Eclipse plugin that comes with Tomcat. But even then, you should be able to find the config files and change them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic