logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@bevocal.com>
Subject RE: Interesting behavior with 2 JVM's
Date Wed, 13 Nov 2002 21:19:57 GMT
Jagadeesh,

This question is more appropriate for the log4j-user list (I see that no one
had answered your question there yet...but I will make a comment there
momentarily).

-Mark

> -----Original Message-----
> From: Jagadeesh G R [mailto:jreddy@lightsurf.com]
> Sent: Wednesday, November 13, 2002 12:05 PM
> To: log4j-dev@jakarta.apache.org
> Subject: Interesting behavior with 2 JVM's
> 
> 
> 
> Hi All,
> 
> 	I am using log4j with apache/resin as my server. I am 
> running 2 instances
> of Resin on a dual proc sun machine for performance reasons.
> 
> 	both my instances of resin points to the same set of 
> Log4j configuration
> file.
> 
> here are my Observations :
> 
> 1.
> using the appender 
> "org.apache.log4j.DailyRollingFileAppender", where one
> JVM renames the current file and start's writing  into a new 
> file, and the
> other JVM truncates the renamed file and starts writing into 
> that, so we are
> loosing all our previous day data.
> 
> 2.
> using the appender "org.apache.log4j.RollingFileAppender" some times I
> observed 3 files being written parallely. the log's were 
> getting distributed
> to 3 files, And the sizes of the old log  files are not 
> consistent. The file
> sizes are going to 20MB also, where the max file size was 
> 10MB, and in some
> cases the size is too less then 10MB.
> 
> please help me by your suggestions.
> 
> Thanks
> Jagadeesh G R
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message