https://issues.apache.org/bugzilla/show_bug.cgi?id=48704

--- Comment #8 from Curt Arnold <[email protected]> 2010-02-13 14:47:27 UTC ---
I've reviewed logback's implementation of "prudent" mode.  Essentially, it
precedes each stream write with java.nio calls to lock the stream and position
the stream to the end of the file, then it performs the write and then releases
the lock.  As it depends on java.nio, it is not available on JDK's prior to
1.4.  It is a reasonable hybrid use of java.io and .nio. 

I'll take a shot implementing it and try to make it so it doesn't add a JDK 1.4
run-time dependency unless you use it.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to