I am using DailyRollingFileAppender & log4j not generating a backup file for every 4th day.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   venkata_yekasi
Posted On:   Sunday, April 20, 2008 07:12 PM

Here is my entry in log4j.properties file



log4j.appender.SEND=org.apache.log4j.DailyRollingFileAppender


log4j.appender.SEND.file=logs/TaskSendDocuments.log


log4j.appender.SEND.datePattern='.'yyyy-MM-dd


log4j.appender.SEND.layout=org.apache.log4j.PatternLayout


log4j.appender.SEND.layout.ConversionPattern= %-5p %d{ISO8601} [%C{1}#%M] - %m%n



This is happening only in prod. Could you please help me in this regard

About | Sitemap | Contact