Return-Path: Delivered-To: apmail-jakarta-log4j-dev-archive@jakarta.apache.org Received: (qmail 84294 invoked by uid 500); 13 Aug 2001 14:19:30 -0000 Mailing-List: contact log4j-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "LOG4J Developers Mailing List" Delivered-To: mailing list log4j-dev@jakarta.apache.org Delivered-To: moderator for log4j-dev@jakarta.apache.org Received: (qmail 75745 invoked from network); 13 Aug 2001 14:15:52 -0000 Message-Id: <5.0.2.1.0.20010813160651.01eb74a0@hoschek.mailbox.cern.ch> X-Sender: hoschek@hoschek.mailbox.cern.ch X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 13 Aug 2001 16:14:14 +0200 To: log4j-dev@jakarta.apache.org From: Wolfgang Hoschek Subject: Re: IO Buffering Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Has there been any commit related to (optionally) using=20 BufferedOutputStream in File|Socket|SyslogAppender? (and I don't mean AsyncAppender) Wolfgang. >Cool. Of course buffering means log4j should be shut down properly when >exiting the JVM so as to flush the buffer. Here it would be highly >useful to be able to depend on the 1.2 shutdown hook. > >Anders > > >Ceki G=FClc=FC wrote: > > > > Anders, > > > > Do you remember the discussion we had about buffering in FileAppender? > > We now have a real world example showing that you were right and I was= =20 > wrong. > > See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D2341 > > > > My performance tests were done on my machine with a single user logged= =20 > on, doing \ > > just the tests. In real world situation you have a many processes=20 > accessing the \ > > disk. And in that situation buffering is all the more important. > > Fortunately, this one is not hard to fix. Cheers, Ceki > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: log4j-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-dev-help@jakarta.apache.org