On Mar 1, 2007, at 10:04 AM, James Stauffer wrote:
In 1.2 no, but I think that is supported in 1.3. In 1.2 you could set
up a cron job to delete the extra files.
If has been a frequently requested feature, but definitely non-
obvious to implement on top of the existing org.apache.log4j.DRFA
No. but you can do the following instead:
Then set a threshold of info on mainAppenderInfo.
On 3/1/07, DECAFFMEYER MATHIEU <[EMAIL PROTECTED]> wrote:
Hi,
Is something like this allowed ?
More than one appender (pointing
Hi,
Is something like this allowed ?
More than one appender (pointing to different outputs) for two loggers
pointing to same scope :
In one file I want everything from the info level,
i made 3 extensions to DailyRoling file appender:
1) dated => the current logfile will also include the date and will not be
renamed on rolling
2) compressing => old logs are compressed.
3) "cleaning" => stupid name but it will delete all files ending with zip which
are older than the given max d
1.2 generally only gets bug fixes so it is highly unlikely that it
would get that feature added.
On 3/1/07, DM <[EMAIL PROTECTED]> wrote:
Thanks for the response. I guess I'll have to wait for 1.3 then. The following
page on the wiki:
http://wiki.apache.org/logging-log4j/DailyRollingFileAppende
Thanks for the response. I guess I'll have to wait for 1.3 then. The following
page on the wiki:
http://wiki.apache.org/logging-log4j/DailyRollingFileAppender
indicates that somebody has extended DailyRolloingFileAppender to include this
feature, but I'm not sure if this has been included in an
In 1.2 no, but I think that is supported in 1.3. In 1.2 you could set
up a cron job to delete the extra files.
On 3/1/07, DM <[EMAIL PROTECTED]> wrote:
Hi,
When using a DailyRollingFileAppender, is there any way to specify the maximum
number of files which should be kept? I know that the Roll
Hi,
When using a DailyRollingFileAppender, is there any way to specify the maximum
number of files which should be kept? I know that the RollingFileAppender
supports a maxBackupIndex property, but it seems this is not supported by
DailyRollingFileAppender. I don't want to use RollingFileAppende