Ooops, I meant "you want to perform" instead of "you will to perform".
At 08:56 AM 4/26/2006, Ceki Gülcü wrote:
There is triggering policy but also a rollover policy. The latter allows
gives you a chance to rename your files according to various criteria.
Actually,
the kind of renaming you
.
At 02:16 AM 4/26/2006, Shriraghavan, Sowmya wrote:
Ok - it's probably simpler to extend the RollingFileAppender then.
Thanks,
Sowmya
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 5:00 PM
To: Log4J Users List
Subject: Re: [BULK] Que
: Tuesday, April 25, 2006 5:17 PM
To: Log4J Users List
Subject: RE: [BULK] Question about RollingFileAppender
Ok - it's probably simpler to extend the RollingFileAppender then.
Thanks,
Sowmya
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25,
Ok - it's probably simpler to extend the RollingFileAppender then.
Thanks,
Sowmya
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 5:00 PM
To: Log4J Users List
Subject: Re: [BULK] Question about RollingFileAppender
In 1.3 you can pro
esday, April 25, 2006 4:07 PM
> To: Log4J Users List
> Subject: RE: [BULK] Question about RollingFileAppender
>
> You need to create your own appender by subclassing RollingFileAppender
> and implement the roll method (I think that is what it is called).
>
> You could then re
hilip Denno [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 4:07 PM
To: Log4J Users List
Subject: RE: [BULK] Question about RollingFileAppender
You need to create your own appender by subclassing RollingFileAppender
and implement the roll method (I think that is what it is called).
You could
You need to create your own appender by subclassing RollingFileAppender
and implement the roll method (I think that is what it is called).
You could then rename the file the way you want.
Example:
1) Call super.roll(); <-- Creates the standard file.
2) Call File.renameTo(); <-- R