https://issues.apache.org/bugzilla/show_bug.cgi?id=45781
Summary: RollingFileAppender under windows weblogic doesnot
rotate
Product: Log4j
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I am not sure if this is a bug or not. But since it doesn't work for me i had
to write my own appender which works plus it zips too ;) I am attaching it as
RollingZIPFileAppender.java
The problem i am facing is that RollingFileAppender should rename the file as
*log.1 But (somehow windows has lock or something, and) instead of making
backup it overwrites itself. this way i was loosing my backup logs.
So is there a better solution or should i continue with mine?Mine actually
creates a copy and renames that.
--
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]