On Aug 22, 2008, at 8:39 AM, Reza Razavipour wrote:
All, I have a thread pool and a set of managed objects. I need to have one log4j file for each of the managed objects. I need to do this dynamically since the number of managed objects will vary during the life of the application. Any thoughts on this? Thanks Reza
This type of use case was one of the motivations for the MultiFileAppender which was one appender that would manage a pool of open files at a time and would select the appropriate file based on examination of the logging event. The initial development stalled for lack of feedback, though I have been meaning to get back to it and hope to after the log4j 1.2.16 release. The current code is available at http://svn.apache.org/repos/asf/logging/sandbox/log4j/multifile. The bug report for discussion of the MFA is https://issues.apache.org/bugzilla/show_bug.cgi?id=45165 . Also, search the archives for MultiFileAppender for earlier discussion.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
