append propertie cause log file switchin
Status: Beta
Brought to you by:
gilstrap
When setting the java.util.logging.FileHandler.append
propetie to true and
java.util.logging.FileHandler.count to a value greater
than 1 then the log file target switch at each write.
To correct than strange behaviour I sugest you
to set append to false at the first switch and to test
if append is true when creating log file.
id change line 210
from
if ( temp.createNewFile() ) {
to
if ( append || temp.createNewFile() ) {
and add append=false; in switchFiles()
Logged In: YES
user_id=101085
Hmmm. The code looks right. I'll create a test ASAP and try
to recreate the bug. If you have a simple test that
reproduces the bug, that would be very helpful.
Thanks,
Brian