• Post Reply Bookmark Topic Watch Topic
  • New Topic

Storing Java output window text as text file  RSS feed

 
Suminder Kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a requirement to store all the stuff that JVM prints out in output window ( ie exception details, any strings printed using System.out.println in code) into text file.

I need these logs so as to debug application running on client PC. Any help would be greatly appreciated.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
What you want is something like Log4J
You can also use the Java logging framework
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!