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/09/11 19:28:06 UTC
DO NOT REPLY [Bug 45781] New: RollingFileAppender under windows
weblogic doesnot rotate
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: log4j-dev@logging.apache.org
ReportedBy: surenrao@gmail.com
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 45781] RollingFileAppender under Windows does not
rotate
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45781
Craig <ca...@integralblue.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|RollingFileAppender under |RollingFileAppender under
|windows weblogic doesnot |Windows does not rotate
|rotate |
--
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
DO NOT REPLY [Bug 45781] RollingFileAppender under windows weblogic
doesnot rotate
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45781
--- Comment #2 from Craig <ca...@integralblue.com> 2008-09-11 10:41:21 PST ---
Created #45782 as the enhancement request for zip functionality. Please ignore
the "zip" part of the attached code and just focus on the Windows-related bug
here.
--
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
DO NOT REPLY [Bug 45781] RollingFileAppender under windows weblogic
doesnot rotate
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45781
Craig <ca...@integralblue.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |candrews@integralblue.com
--
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
DO NOT REPLY [Bug 45781] RollingFileAppender under windows weblogic
doesnot rotate
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45781
--- Comment #1 from Surya <su...@gmail.com> 2008-09-11 10:29:00 PST ---
Created an attachment (id=22557)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22557)
My impl for RollingAppender
--
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