logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45236] Wriring output to an out-dated file.
Date Wed, 02 Jul 2008 14:15:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45236


Nagireddy Satti <nagireddy9@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #6 from Nagireddy Satti <nagireddy9@gmail.com>  2008-07-02 07:15:51 PST
---
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.


-- 
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message