Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 40533 invoked from network); 29 Oct 2010 17:26:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 17:26:02 -0000 Received: (qmail 77893 invoked by uid 500); 29 Oct 2010 17:26:02 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 77869 invoked by uid 500); 29 Oct 2010 17:26:02 -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 77860 invoked by uid 99); 29 Oct 2010 17:26:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 17:26:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 17:25:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PBshr-0005eZ-Sw for log4j-user@logging.apache.org; Fri, 29 Oct 2010 10:25:35 -0700 Message-ID: <30087864.post@talk.nabble.com> Date: Fri, 29 Oct 2010 10:25:35 -0700 (PDT) From: fachhoch To: log4j-user@logging.apache.org Subject: Re: log4j creates several log files In-Reply-To: <30087821.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fachhoch@gmail.com References: <30087821.post@talk.nabble.com> attached is my log4j confiration file. http://old.nabble.com/file/p30087864/log4j.xml log4j.xml fachhoch wrote: > > here is my log4j configration > > > class="org.apache.log4j.DailyRollingFileAppender"> > > > > > > > > > > > > I am assuming this configration will create one log file daily with a > max size of 5Mb and if the log size exceeds it will create another new > one. > > > > but in server I noticed several log files with the size 3kb , 5kb etc. > not even a single log file is of size 5Mb and a log file for every few > minutes, please tell me what is wrong with my configration . > > > -- View this message in context: http://old.nabble.com/log4j-creates-several-log-files-tp30087821p30087864.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