You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/07/02 00:29:59 UTC

DO NOT REPLY [Bug 17887] RollingFileAppender does not work for 10 threads

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


Thorbjørn Ravn Andersen <th...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thorbjoern@gmail.com




--- Comment #5 from Thorbjørn Ravn Andersen <th...@gmail.com>  2008-07-01 15:29:58 PST ---
>From an initial reading of the bug report this might be that two threads
contend for rolling over the files (i.e. the triggering happens in two threads
so the operations get mixed).

Perhaps a synchronized block around the renaming-bit could help?

Suggestions?


-- 
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org