Configure an external Log file for Eclipse console log:

Most of the time, the output of the java application is written to the console unless you configure an external log file. This tutorial shows you how to configure an external log file, for writing the output from console to an external log file for a java application.

If the output log of your java application becomes too long, then often the eclipse console flushes some output

and you can not see the full log in the eclipse output console. To prevent this, you can configure an external

log file, so that eclipse writed all the console output to this file.

Steps to configure external output console file in eclipse:


1). Open the Run Dialogue box.

2). Got to the common tab.

3).In the standard input and output section, select the file option and specify the path of any text file.

4). click apply and run.


Now, you can view this log file in any of the notepad/text editors.




Sandeep Joshi
Mathematics, Technology and Programming are my passion. I am a part of Java Ecosystem and through this blog, I contribute to it. I am here to blog about my interests, views and experiences.
I am on Google+ and Facebook.
I feel proud to be listed as a "National Memory Record Holder" in the Limca Book of Records, 2009 and have attempted for an International Memory record in the Guiness Book of Records. I can remember the value of PI upto 10,000 digits after the decimal (3.1415.....). You can contact me on javagenious.com(At)gmal.com ; I would like to hear from you :)