K Sunil | 1 Sep 2005 12:31
Picon
Favicon

Re: TimeBasedRollingPolicy behaviour

Thanks for responding to my clarification. 

 I tried as you suggested. 
 I removed setActiveFileName. 
It worked by appending the date with the fileName. 

 I have one more clarification: 
 Is it possible to have a activeFileName with just name and no date
appended 
 and the rolled up files must have date appended. 
 What I mean is whenever log are printed, it should print to fileName
without date appended 
 and once the rollup happens then rolled up fileName should have date
appended. 

 It is possible to get the functionality with log4j 1.3 alpha build. 

 
Thanks and Regards, 
Sunil.K 

>>> carnold <at> apache.org 8/31/2005 9:37 PM >>>

On Aug 31, 2005, at 7:35 AM, K Sunil wrote:
> Hi All,
>
>           I am using Log4j 1.3 alpha build for the development.
>           In this build, I tried to use TimeBasedRollingPolicy,  
> set  below properties
>
(Continue reading)

Jacob Kjome | 1 Sep 2005 16:03
Favicon

Re: TimeBasedRollingPolicy behaviour

Quoting K Sunil <ksunil <at> novell.com>:

> Thanks for responding to my clarification.
>
>  I tried as you suggested.
>  I removed setActiveFileName.
> It worked by appending the date with the fileName.
>
>  I have one more clarification:
>  Is it possible to have a activeFileName with just name and no date
> appended
>  and the rolled up files must have date appended.
>  What I mean is whenever log are printed, it should print to fileName
> without date appended
>  and once the rollup happens then rolled up fileName should have date
> appended.
>
>  It is possible to get the functionality with log4j 1.3 alpha build.
>

If you provide a patch, it will make it much more likely to get into 1.3.

Jake

>
> Thanks and Regards,
> Sunil.K
>
>
> >>> carnold <at> apache.org 8/31/2005 9:37 PM >>>
(Continue reading)


Gmane