You've convinced me.  Originally we suspected it was a quirk of AIX but as
you rightly pointed out it is cross platform - I stand corrected.

Top marks to Ceki for acknowledging a fix, v1.3 just keeps getting better...

Tim.
----- Original Message ----- 
From: "Typrowicz, Jim" <[EMAIL PROTECTED]>
To: "'Log4J Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 13, 2004 8:04 AM
Subject: RE: Daily Rolling Appender Failing


> Tim,
>
> I found your thread a couple of weeks ago and this is the one we
implemented
> as well.  I disagree that it is not a log4j problem.  As you pointed out
in
> the code it doesn't check to see if the rename failed.  In my opinion
log4j
> should handle all platforms, even Windows.  I was hoping the log4j
> developers would put a fix in the next release, otherwise, a lot of folks
> will have to do the same hack again.
>
>
> Thank you,
> Jim
>
> -----Original Message-----
> From: Tim Williams [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 11:52 PM
> To: Log4J Users List
> Subject: Re: Daily Rolling Appender Failing
>
> We had this problem on AIX, although we never tracked down the specific
> cause the behaviour is identical.  I don't think it is necessarily a Log4J
> problem either - more to do with the file system itself.  We ended up
> writing a nasty hack version of the rolling file appender.  There was a
> discussion about this on the list a couple of months ago - is there a
> searchable archive anywhere?
>
> Tim.
>
> ----- Original Message ----- 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 12, 2004 3:13 PM
> Subject: RE: Daily Rolling Appender Failing
>
>
> > I don't think this is a problem with log4j, more of an issue with the
way
> > Windows handles renaming open files (or perhaps the way Java does it).
> >
> > I just avoid the problem by not keeping log files open overnight, or
just
> > copying to another location before opening them.  Kind of like the joke
> > where the guy goes to the doctor and says "it hurts when I do this", and
> the
> > doctor goes, "then don't do that."  :)
> >
> > Seriously though, if you are in a production environment on Windows, you
> can
> > find yourself missing some log messages if you run into this so it is
> > certainly something to be careful to avoid.
> >
> > Ken
> >
> > > -----Original Message-----
> > > From: Typrowicz, Jim [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, January 12, 2004 4:56 PM
> > > To: 'Log4J Users List'
> > > Subject: RE: Daily Rolling Appender Failing
> > >
> > >
> > > Ken,
> > >
> > > Thank you for your reply.  Do you know if the log4j
> > > developers are working
> > > on a solution?
> > >
> > > Thank you,
> > > Jim
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, January 12, 2004 2:18 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Daily Rolling Appender Failing
> > >
> > > I have found that files can fail to roll over on Windows if
> > > you still have
> > > them open (such as with tail or Wordpad) when log4j tries to
> > > roll over .
> > > This might be your problem.
> > >
> > > Ken
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to