wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse / MyEclipse - Logging console output ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse / MyEclipse - Logging console output ? " Watch "Eclipse / MyEclipse - Logging console output ? " New topic
Author

Eclipse / MyEclipse - Logging console output ?

Robert Darling
Ranch Hand

Joined: Jun 21, 2008
Posts: 100

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

Joined: Jun 21, 2008
Posts: 100

I mean to ask how we can redirect console output from Tomcat to a Log file ?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

You could try editing Tomcat's logging config file. In standalone Tomcat 6.0.29 it is at config/logging.properties.


JBoss In Action
Robert Darling
Ranch Hand

Joined: Jun 21, 2008
Posts: 100

Hi,
Thanks for the suggestion. I was looking for some way to redirect the tomcat inbuilt with eclipse ?

Kind Regards,
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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.
 
GeeCON Prague 2014
 
subject: Eclipse / MyEclipse - Logging console output ?