I have finished developing a swing application and I would like to change all my System.out.println statements into log. I would like to write these lines into a log file for that application.
I am planning to concatenate all these strings into one
string and finally opening a log file to write everything in one step before the program exit. B'cos I feel it would be cumbersome to open many times to write the System.out into log file (With as many as try catch.. as many as System.out statements). Any other nicer way to do this?
[ April 28, 2008: Message edited by: Gopu Akraju ]