On Nov 29, 2006, at 10:11 PM, ying lcs wrote:
I try it, but I get this error "
log4j:WARN No such property [maxBackupIndex] in
org.apache.log4j.DailyRollingFileAppender.
I put this line in the log4j properties file.
log4j.appender.ACCESS.MaxBackupIndex=7
On 11/28/06, Shuh Chang <[EMAIL PROT
can set the MaxBackupIndex parameter like this:
log4j.appender.drfa.MaxBackupIndex=7
-Original Message-
From: ying lcs [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 10:42 PM
To: Log4J Users List
Subject: Re: File Appender in log4j
Thanks for the advice.
Can you please tell me how
I think you can set the MaxBackupIndex parameter like this:
log4j.appender.drfa.MaxBackupIndex=7
-Original Message-
From: ying lcs [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 10:42 PM
To: Log4J Users List
Subject: Re: File Appender in log4j
Thanks for the advice.
Can
Thanks for the advice.
Can you please tell me how can i only keep the last 7 days of the log ?
Thank you.
On 11/21/06, Curt Arnold <[EMAIL PROTECTED]> wrote:
On Nov 21, 2006, at 4:21 PM, ying lcs wrote:
> Hi,
>
> Can you please tell me how can I configure file appender so that it
> writes t
Curt Arnold apache.org> writes:
> On Nov 21, 2006, at 4:21 PM, ying lcs wrote:
>
> > Hi,
> >
> > Can you please tell me how can I configure file appender so that it
> > writes to 1 log file per data and have the old one stays?
> >
> > Thank you.
>
> I guessing that you meant "1 log file per DAY
On Nov 21, 2006, at 4:21 PM, ying lcs wrote:
Hi,
Can you please tell me how can I configure file appender so that it
writes to 1 log file per data and have the old one stays?
Thank you.
I guessing that you meant "1 log file per DAY". If that is your
request, you could use a DailyRolling