Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 348 invoked from network); 3 Nov 2009 06:36:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 06:36:40 -0000 Received: (qmail 90917 invoked by uid 500); 3 Nov 2009 06:36:39 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 90846 invoked by uid 500); 3 Nov 2009 06:36:38 -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 90832 invoked by uid 99); 3 Nov 2009 06:36:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 06:36:38 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.112.81.56] (HELO smtp.ergonomics.ch) (195.112.81.56) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 06:36:35 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.ergonomics.ch (Postfix) with ESMTP id A77AA20E37 for ; Tue, 3 Nov 2009 07:36:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ergonomics.ch Received: from smtp.ergonomics.ch ([127.0.0.1]) by localhost (ergonomics.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FCLBSJDt6U21 for ; Tue, 3 Nov 2009 07:36:26 +0100 (CET) Received: from mars.bahamas.ergo (mars.bahamas.ergo [192.168.0.14]) by smtp.ergonomics.ch (Postfix) with ESMTP id 8BAA620E33 for ; Tue, 3 Nov 2009 07:36:26 +0100 (CET) Received: from mars.bahamas.ergo ([192.168.0.14]) by mars.bahamas.ergo ([192.168.0.14]) with mapi; Tue, 3 Nov 2009 07:36:13 +0100 From: Bender Heri To: 'Log4J Users List' Date: Tue, 3 Nov 2009 07:36:12 +0100 Subject: AW: Is DailyRollingFileAppender efficient or safe to use if log file is huge? Thread-Topic: Is DailyRollingFileAppender efficient or safe to use if log file is huge? Thread-Index: Acpb/cE+XV34428gTpC7nOzrK9lE5gAUdc0g Message-ID: <9136AE131D290D4B8E66FF863C1F69232E9964423D@mars.bahamas.ergo> In-Reply-To: <26157824.post@talk.nabble.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 logfiles up to 200 MB didnt throw any problems (on windows XP and winserver= 2003 with NTFS). Heri -----Urspr=FCngliche Nachricht----- Von: shaoxianyang [mailto:ysxsusan@hotmail.com]=20 Gesendet: Montag, 2. November 2009 21:47 An: log4j-user@logging.apache.org Betreff: Is DailyRollingFileAppender efficient or safe to use if log file i= s huge? Hi, I am using log4j 1.2.15. I am pondering between DailyRollingFileAppender and RollingFileAppender. =20 For RollingFileAppender, I can enforce file size limit and MaxBackupIndex.= =20 But for DailyRollingFileAppender, i can not limit either.=20 Aside from being difficult to plan disk space usage in advance, does DailyR= ollingFileAppender cause inefficiency if the log file become huge? In theo= ry, the log4j just keeps a fiel descriptor and append to the end. It should not matter that much if the log file is big or small. =20 Did I miss anything? Any feedback or recommendation is appreciated. Thanks. Shaoxian Yang -- View this message in context: http://old.nabble.com/Is-DailyRollingFileAppe= nder-efficient-or-safe-to-use-if-log-file-is-huge--tp26157824p26157824.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org