Logging throwing IOException

Hi

My application uses java.util.logging

and i am getting this exception.

java.io.IOException: The handle is invalid

at java.io.FileOutputStream.writeBytes(Native Method)

at java.io.FileOutputStream.write(FileOutputStream.java:260)

at ava.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

at ava.util.logging.FileHandler$MeteredStream.flush(FileHandler.java:143)

at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)

at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)

at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)

at java.util.logging.StreamHandler.flush(StreamHandler.java:225)

I could figure out this is due to inactivity. My application was open for a day but it was not at all used. Next day, I tried to do something it crashed with above exception. Please tell me if there is any better way of using java logging

Thanks in advance

[1066 byte] By [kothasa] at [2007-10-3 8:17:48]
# 1
and this happening only in windows....
kothasa at 2007-7-15 3:23:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...