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

--- Comment #10 from Curt Arnold <[email protected]> 2010-02-13 18:20:07 UTC 
---
I've done a quick implementation of prudent mode.   However, I think your
success with logback's RFA's could be due to switch from Unix to Windows,
instead of switching to prudent mode on logback.

Reviewing your log you mentioned that you tested logback's RFA in a Windows
environment, but your initial bug report indicates Solaris and the behavior you
describe is how RFA's misbehave on Unix platforms when multiple RFA's are
acting.  File renames and deletes are radically different between Windows and
Unix.  Basically, in Unix directory entries are changed, but any existing
handle is still valid for operations.  On Windows, an attempt to rename an open
file will fail and the rollover does not occur.

Prudent mode would likely improve observed behavior of multiple JVM's writing
to the same file, however I do not believe it would offer any benefit to the
observed behavior on rollovers under Unix-like OS's.  I did a quick check of
the logback code and was not able to find anything that indicated that looked
like cross-app locking around file renames if that were possible.

-- 
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