m.harig wrote:
> 
> hi all
> 
>   am new to log4j . am using this log4j for nutch crawling. it works fine.
> The log file is being truncated when the date is turned to next day. I
> mean when next day comes it just truncate all the previous entries from
> the log file and it starts to write new entries. so everytime am losing
> the previous day entries.. is there any properties to solve this
> 



finally i fixed this bug. this is because of Rollover at midnight.
i just disabled this from 
log4j.appender.DRFA.DatePattern=.yyyy-MM-dd 
to 
#log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
-- 
View this message in context: 
http://www.nabble.com/log-file-truncation-tp17879590p17880380.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to