View Full Version : How to keep log messages

08-02-2004, 07:27 AM
Hi every body,

I want to keep some log messages in my installer to check the process. I did it as following:

1. Created a new File ("c:\log.txt");
2. Opened in it an output stream new DataOutputStream (new FileOutputStream (file, true));
3. dos.writeChars ("string");
4. closed all the opened output streams.

But when I am doing as above the flow is getting stoped. Is this because of opening output streams. Can you please tell me how to write logs for the installer.

thanks in advance.
Kiran Kumar