https://issues.apache.org/bugzilla/show_bug.cgi?id=45236





--- Comment #8 from Thorbjørn Ravn Andersen <[EMAIL PROTECTED]>  2008-07-02 
16:51:48 PST ---
(In reply to comment #6)
> We are not using multiple instances of log4j. See here the problem is only one
> instance that exists in the system is trying to write the log statements to an
> out-dated file. For example, today is 02/07/2008. So the log4j is supposed to
> write the log statements to a file called smmt.log. But some times it is 
> trying
> to write to a file smmt.log.2008-06-29. 
> 
> We have the following properties as part of log4j.propertis file.
> 
> log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.R.File=smmt.log
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p]
> %c - %m\n
> log4j.appender.R.Threshold=DEBUG
> 
>  here R is the logger name.

I believe that this may be caused by several web applications configured
identically even if it is in the same web container.  If you need common
logging for all web applications you need to move log4j.jar out of the
individual web applications and into the area providing common jars for all web
application.

Can you please create a small example reproducing the behaviour you see, and
give "uname -a" on the host having the problems?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to