DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24107>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24107 DailyRollingFileAppender sharing target File in multiple EARS Summary: DailyRollingFileAppender sharing target File in multiple EARS Product: Log4j Version: 1.2 Platform: Other OS/Version: AIX Status: NEW Severity: Normal Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I got this problem with Log4j 1.2.7.: I'm creating programmatically a common Logger class that builds some DailyRollingFileAppender and this piece of code ends up in an EJB module that is included in several EARs. So I end up creating different applications with multiple instances of the logger that share the same file. The problem is that when the file is rolled over by one application, the other application does not know that the file was rolled over so when the second application rolls the file over, the first application continues to write to the rolled over file (the one with the date at the end). I think the rollover process should have a bit of logic to check if another process has already rolled over the file, or else place a warning in the DailyRollingFileAppender to prevent using it the way I tried to do. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]