logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Having a daily, weekly, monthly and yearly roll over file.
Date Mon, 12 Jun 2006 13:40:22 GMT
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


Mime
View raw message