You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by tamir <ta...@movious.com> on 2002/02/28 09:30:17 UTC
mysterious DailyRollingFileAppender
Hi everybody,
I've seen some previous posts about this subject, however, I couldn't get
into tough conclusion,
so I'm asking my question even tough... hopes it's ok.
I came this morning, and saw that my rolling appender log file was rolled,
however, no old log file was remained..
The file category is LOG.
Thus, all the info that was logged was deleted!
(This stuff used to work ok, that's why I'm a little anxious about it...)
Thanks for any help,
Tamir
Here is my log4j.properties file:
#
#Mon Sep 24 15:29:29 IST 2001
log4j.rootCategory=DEBUG
log4j.categoryFactory=com.movious.log.DBCategoryFactory
# categories
log4j.category.com.movious=DEBUG, A1 , LOG
# log4j.category.com.movious.PortletServlet=DEBUG
# log4j.category.com.movious=DEBUG
log4j.appender.A1.layout.ConversionPattern=%5p [%t] %c - %m%n
log4j.appender.A1.Threshold=WARN
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.DB.Threshold=ERROR
log4j.category.DB.com.movious.pluginsoap=INFO,DB
log4j.appender.DB=com.movious.log.DatabaseLog
log4j.appender.LOG.File=c:/movious/mss/mss-server/WEB-INF/logs/mss-server.lo
g
log4j.appender.LOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.LOG.layout=org.apache.log4j.PatternLayout
# log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] (%F\:%L) %c -
%m%n
log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] - %m%n
log4.appender.LOG.DatePattern='.'yyyy-MM-dd-a
log4j.appender.Portlet.Threshold = DEBUG,false
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>