dcsimg
Problem with log rolling
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zakir_s
Posted On:   Monday, February 13, 2006 05:40 AM

Hi,

I work in WSAD enviroment, with lo4j

I 've configured my logger with

log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender

but it doesn't waork properly.

1 wasadm stmcgrp 72 Feb 13 09:47 Q41.log
1 wasadm stmcgrp 121170 Feb 13 09:52 Q41.log.2006-02-12


the new file is created but, application still write in the old one

can anyone help e to understand the process

Re: Problem with log rolling

Posted By:   ankush_purwar  
Posted On:   Monday, February 13, 2006 02:58 PM

Default implementaion of rolling appender that initially it write logs into some file say daily.log and when rollover condition appears, it will copy all the date in daily.log.1 and inserts into daily.log from the start.

What you say now ?
About | Sitemap | Contact