Never mind. It was Jim Moore. Regards, Ceki
At 16:59 03.01.2002 +0100, you wrote: >Hello Andrea, > >I belive the restart bug in DayliRollingFileAppender was corrected back in July. >It was first corrected in version 1.15 and more succinctly in 1.16. This was not >properly documented in the HISTORY file. Unfortunately, I no longer remember >the name of the person who supplied the improved fixed and cannot give due credit. >Could the person please come forward? > >Btw, Log4j 1.2alpha5 has the fixed code. > >Regards, Ceki > >At 08:22 03.01.2002 +0100, you wrote: >>Hi! >>Don't know if ill be of some help but i think that tha actual stable version >>of log4j has a bug regarding the dailyrollingfile appender. >>Problem is that the rollover works if the program using log4j runs >>continously but if the program stops or crashes and the date changes, the >>next time the program tries to log something instead of rolling the actual >>log files it appends its data on the actual file. >>Example: rolling every night at midnight; the program crashes at 23:00 >>xx/mm/yyyy; the program runs again at 1:00 xx+1/mm/yyyy; expected behaviour: >>when the program runs again, it first rollover the log files and creates new >>one where it starts appending log rows; actual behaviour: when the program >>runs again it starts appending the new log rows in the actual log files that >>contain the log rows of the previous day >> >>I built a class that wraps log4j for the use of the >>DayliRollingFileAppender. If u want i can send u privately or post it in the >>list >>I've also patched the log4j DayliRollingFileAppender class to have the >>expected behaviour: can i post this patch here so the development team can >>take it a look? >> >>Regards >>Andrea Fabris >> >>----- Original Message ----- >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Cc: <[EMAIL PROTECTED]> >>Sent: Thursday, January 03, 2002 6:23 AM >>Subject: DailyRollingFileAppender. >> >> >>> >>> hello, >>> i am unable to use the DailyRollingFileAppender for logging. can i get >>some >>> working example related to it from anywhere ? >>> Tried with the simple RollingFileAppender class,and it works fine,but when >>> tried with the DailyRollingFileAppender, there were no rollover files >>> created. >>> >>> There is only one field viz. DATE_PATTERN_OPTION in the given class, whose >>> value i have specified properly in the config.txt file,which is picked up >>by >>> the PropertyConfigurator class in the source code,while logging. and i am >>> sure,this value is specified accurately because, whenever logging is done, >>> there are no errors related to logging and the desired log file is created >>> properly. however, there is no daily roll-over of the file. >>> any reasons explaining this ??? >>> >>> thanx in advance for sparing the time. >>> >>> Gaurav. >>> -------------------------------------------------------------------------- >>-- >>> >>> This message contains privileged and confidential information and is >>> intended only for the individual named. If you are not the intended >>> recipient you should not disseminate, distribute, store, print, copy or >>> deliver this message. Please notify the sender immediately by e-mail if >>you >>> have received this e-mail by mistake and immediately delete this e-mail >>from >>> your system. >>> >>> >>> E-mail transmission cannot be guaranteed to be secure or error-free as >>> information could be intercepted, corrupted, lost, destroyed, arrive late >>or >>> incomplete, or contain viruses. The sender therefore does not accept >>> liability for any errors or omissions in the contents of this message >>which >>> arise as a result of e-mail transmission. If verification is required >>> please request a hard-copy version. >>> >>> >>> -------------------------------------------------------------------------- >>> >>> -- >>> To unsubscribe, e-mail: >><mailto:[EMAIL PROTECTED]> >>> For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> >>> >>> >> >> >> >> >>-- >>Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f >> >>Sponsor: >>Sogni un lavoro nel web? Diventa Web Master, Web Engineer o Web Designer da casa tua! >>Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=58&d=3-1 >> >>-- >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >-- >Ceki Gülcü - http://qos.ch > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Ceki Gülcü - http://qos.ch -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>