How to write console logs into file in eclipse?

When ever we run the servers in eclipse ,we may not be able to see all the log entries due to logging it very fast. Either we need to increase the buffer size in eclipse or stop the process then check the logs. Instead of above approach we can redirect console out  to file then we can verify. Lets see how can we write the console to file. Go to Server "Run Configurations" then click common tab.


Select the file option and locate where the file needs to be generated. Now when ever we start the server all the console events to be written in this file.
Post a Comment (0)
Previous Post Next Post

Recent Posts