Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 4235 invoked from network); 22 Mar 2006 17:59:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2006 17:59:42 -0000 Received: (qmail 68591 invoked by uid 500); 22 Mar 2006 17:59:39 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 68562 invoked by uid 500); 22 Mar 2006 17:59:39 -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 68550 invoked by uid 99); 22 Mar 2006 17:59:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 09:59:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.160.230.41] (HELO mout.perfora.net) (217.160.230.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 09:59:38 -0800 Received: from [24.0.205.46] (helo=zebra) by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis), id 0MKp2t-1FM7c33d1K-0006sE; Wed, 22 Mar 2006 12:59:17 -0500 From: "Burton Strauss" To: "'Log4J Users List'" Subject: RE: File Size and Retention Date: Wed, 22 Mar 2006 11:59:13 -0600 Message-ID: <009001c64dda$5520a590$f900ca0a@burtonstrauss.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 thread-index: AcZN1HnjBVU2ry2+Tdi4Jqc+EsQq+AABcWoQ In-Reply-To: <41DBD497D8DFA24E96B2D42C89B3B132115EC5D0@gsnmp39es.firmwide.corp.gs.com> X-Provags-ID: perfora.net abuse@perfora.net login:cdcd4efe21420e7cde90f801b788aed8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Check out the RollingFileAppender. -----Burton -----Original Message----- From: Sanchez, Kenny J [mailto:Kenny.Sanchez@gs.com] Sent: Wednesday, March 22, 2006 11:17 AM To: 'log4j-user@logging.apache.org' Subject: File Size and Retention Importance: High Hello!! How can I do the following: I would like to create a log file and would like to SET THE FILE SIZE and RETENTION period. I would like to set the file size to 500KB and only save a weeks worth of that file. Can someone point me in the right direction/send me an example??? Thanks, Kenny --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org