On what basis does the rotation work? File size or date?

I wrote yesterday (!) a simple FileTarget which combines
both attempts, e.g. the usual rotation is done by date:
Using a configuration a backup is created at the beginning
of every hour, 12 hours or day. When during this period
of time the size of the log gets to big (is also configurable),
it is also backuped and a new log is created.

Perhaps we could join forces here?


Carsten

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: [EMAIL PROTECTED]
================================================================

> Peter Donald wrote:
>
> On Mon, 13 Aug 2001 22:52, Bernhard Huber wrote:
> > Hi
>
> Hi,
>
> > I was implementing a FileRotation for LogKit, but not using
> > the very lattest LogKit interfaces.
>
> kool.
>
> > Is there a need for this feature?
>
> yes very much so.
>
> > As I understand
> > long running server-programs will write big log files. Maybe I have
> > overseen something but FileRotation is needed in production environment,
> > or shall Cocoon2, etc get restarted ever day :-) ?
>
> I have actually implemented FileRollTarget ages ago (a year or two) but I
> didn't own it. I actually reimplemented it a few days ago but
> wasn't willing
> to put it into CVS without more testing .. however if you already have a
> tested version .... that would be useful ;)
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
>
> ---------------------------------------------------------------------
> 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