logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kailash KN" <kailash...@thbs.com>
Subject Re: Having a daily, weekly, monthly and yearly roll over file.
Date Tue, 13 Jun 2006 14:20:30 GMT
Thanks a lot James, its working now.... :-)

Thanks & Regards,
Kailash.K.N.
----- Original Message ----- 
From: "James Stauffer" <stauffer.james@gmail.com>
To: "Log4J Users List" <log4j-user@logging.apache.org>
Sent: Monday, June 12, 2006 7:10 PM
Subject: Re: Having a daily, weekly, monthly and yearly roll over file.


> My DateFormatFileAppender
> (http://stauffer.james.googlepages.com/DateFormatFileAppender.java)
> would handle rolling daily, monthy, or yearly, but not weekly.  If you
> want something that does weekly also you would have to implement your
> own appender.
>
> On 6/12/06, Kailash KN <kailash_kn@thbs.com> wrote:
>> Hi,
>>
>> I want to have a log file that rolls over daily, weekly, monthly and 
>> annually depending on the option i choose.
>>
>> I had a look at DailyRollingFileAppender, but it did not serve my 
>> purpose. But can i have a single logger object with one single appender 
>> attached to it, which serves my requirement.
>>
>> Any help would be greatly appreciated. Thanks in advance.
>>
>> Regards,
>> Kailash
>>
>
>
> -- 
> James Stauffer
> Are you good? Take the test at http://www.livingwaters.com/good/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message