Oh, interesting.
So you want (something like) a DailyRollingFileAppender but dont want to
save the logs for the previous days (are you sure you want to get rid of ALL
previous logs?)

- pradeep kanwar

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 3:15 AM
Subject: R�f. : Re: Log file trouble


>
> Thanks for your response but i think that you did not understand my need.
>
> I have an application that uses a log file.
>
> Imagine that we are 01/01/04, the date of the first run of the
application.
> The application starts at 6:00 and stops at 22:00,
> If we start the application the day 02/01/04, I need that the log file
> become empty and begin new log lines in this file.
>
> If we restart the app thse same day, the log file must be appended.
>
>
> Ahmed ALAMI
> DQAI/SDV
> Tel : 05 56 75 60 52
>


----------------------------------------------------------------------------
----


> Post-scriptum La Poste
>
> Ce message est confidentiel. Sous r�serve de tout accord conclu par
> �crit entre vous et La Poste, son contenu ne repr�sente en aucun cas un
> engagement de la part de La Poste. Toute publication, utilisation ou
> diffusion, m�me partielle, doit �tre autoris�e pr�alablement. Si vous
> n'�tes pas destinataire de ce message, merci d'en avertir imm�diatement
> l'exp�diteur.
>
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> 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