logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Squittieri" <f.squitti...@comune.prato.it>
Subject R: R: DailyRollingFileAppender rolls but...
Date Thu, 09 Jun 2005 06:19:20 GMT
Well, i can i say if i've got or not multiple log4j instances on a shared server?
I've put log4j jar under  JRE lib/ext  so i presumed anyone would have to use this and only
this log4j instance, as is i've got a tomcat under which several webapps are running and i've
a bunch of standalone (batches) java apps running at specified times.
How can i force anyone to share the very same instance of log4j in order to avoid this behavoiur?


-----Messaggio originale-----
Da: Curt Arnold [mailto:carnold@apache.org] 
Inviato: mercoledì 8 giugno 2005 19.47
A: Log4J Users List
Oggetto: Re: R: DailyRollingFileAppender rolls but...

I assume that you are running on a Unix or variant and not a Windows box.  The behavior is
consistent with the appenders opening on the existing file, the rename occurring but the appenders
continuing to  
write the old file handles.   Might happen if you have independent  
instances of log4j.



On Jun 8, 2005, at 3:09 AM, Fabrizio Squittieri wrote:


> Not exactly sorry,
> On 6/07 when it restarts it makes log.txt.07062005 and writes to this 
> and DO NOT writes on log.txt Sorry for my english...
> FS
> -----Messaggio originale-----
> Da: James Stauffer [mailto:stauffer.james@gmail.com]
> Inviato: martedì 7 giugno 2005 15.41
> A: Log4J Users List
> Oggetto: Re: DailyRollingFileAppender rolls but...
>
> Is the following what are your trying to say?
>
> On 6/07 when it restarts it makes log.txt.07062005 but still writes 
> logs to log.txt.
>
> On 6/7/05, Fabrizio Squittieri <f.squittieri@comune.prato.it> wrote:
>
>
>> Hi there,
>> I'm reporting a weird thing:
>> every morning the server on which i've got log4j (v1.2.8) installed 
>> reboot at 7.22 AM.
>> Now, when it boots up again, Tomcat comes up and log4j rolls log.txt 
>> to log.txt.DDMMYYYY correctly but up to the next Tomcat restart every 
>> application still log on the rolled file and not on the new one, and 
>> i loose log statements of yesterday.
>> I hope someone could help me...
>> Thanks
>>
>> Fabrizio Squittieri - Programmatore
>>
>> Sistema informativo - Comune di Prato Via Cairoli 16 - Prato 
>> f.squittieri@comune.prato.it
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> James Stauffer
> Are you good? Take the test at http://www.livingwaters.com/good/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message