Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 63185 invoked from network); 27 Apr 2007 12:58:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 12:58:54 -0000 Received: (qmail 35333 invoked by uid 500); 27 Apr 2007 12:58:49 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 35308 invoked by uid 500); 27 Apr 2007 12:58:49 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 35286 invoked by uid 99); 27 Apr 2007 12:58:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 05:58:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [193.130.196.32] (HELO uksmtp02.uk.icap.com) (193.130.196.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 05:58:41 -0700 Received: from UKEXGT1.uk.icap.com (unverified [10.44.33.17]) by uksmtp02.uk.icap.com (Content Technologies SMTPRS 4.3.19) with ESMTP id for ; Fri, 27 Apr 2007 13:58:11 +0100 Received: from UKEXMB4.uk.icap.com ([10.44.163.105]) by UKEXGT1.uk.icap.com with Microsoft SMTPSVC (5.0.2195.6713); Fri, 27 Apr 2007 13:58:11 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: RollingFileAppender Date: Fri, 27 Apr 2007 13:58:11 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RollingFileAppender Thread-Index: AceDZU7dmn2T2ICFT8mOQrufebDosQFZGYUAAABf6HA= From: "Andrew Marlow" To: "Log4J Users List" X-OriginalArrivalTime: 27 Apr 2007 12:58:11.0513 (UTC) FILETIME=[B5EA7A90:01C788CB] X-Virus-Checked: Checked by ClamAV on apache.org Cheung, Quinn wrote: > Is there a file appender that uses a FIFO type of > record-rolling? What I don't like about the > RollingFileAppender is that it's not a FIFO per log entry. > When all the log files are full, RollingFileAppender erases > the entire contents of the oldest file instead of removing 1 > message at a time as needed. Any ideas? My understanding is that rolling files are used instead of cyclic logs. I w= rote a cyclic log package for C++ ages ago (see http://cycliclogs.sourcefor= ge.net) which is fine when disk space is tight. I was tempted to offer a ja= va version of this but with log4j I think it's not needed. Now that gigs ar= e as cheap as chips I think people are expected to set aside a large amount= of space such that it will not matter when the oldest logs are deleted. > Thanks, >=20 > Quinn ***************************************************************************= ***" The data and information (collectively called Information) herein is the so= le property of ICAP. The Information is confidential, may be legally privi= leged and is intended solely for the use of the individual or entity to who= m it is addressed. Unauthorised disclosure, copying or distribution of the= Information is strictly prohibited and the recipient of the Information sh= all not redistribute the Information in any form to a third party. If you = received this Information in error please tell us by reply (or telephone th= e sender) and delete all copies on your system. References in this Information to ICAP are references to ICAP plc, a compan= y incorporated in England with registered number 3611426 whose registered o= ffice is 2 Broadgate, London, EC2M 7UR and where the context requires, incl= udes its subsidiary and associated undertakings. As applicable, certain co= mpanies within the ICAP group are authorised and regulated by the Financial= Services Authority. Any investment research sent from ICAP will provide a= n impartial and objective assessment of the securities, companies or other = matters that are the subject of their research and our Conflicts of Interes= t Management Policy regarding investment research can be viewed by requesti= ng a copy from your usual contact at ICAP. Please visit www.icap.com for f= urther regulatory information including details regarding the European eCom= merce Directive. ***************************************************************************= ****" We have taken precautions to minimise the risk of transmitting software vir= uses, but we advise you to carry out your own virus checks on any attachmen= t to this message. We cannot accept liability for any loss or damage caused= by software viruses. " ***************************************************************************= **** = = = = = = = = = = = = = =20 --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org