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>

Reply via email to