No, there was no decision. However, one change that should work well is to have the Layout.format() method take a Writer (or a Stream) as a parameter instead of a string and change the return type to void instead of String. I think all of the Appenders that make use of a Layout could painlessly survive this change with the exception of JDBCAppender.
Regardless, I want to study log4j memory usage for myself because there is sometimes a difference between reports and reality.
At 12:54 18.12.2002 -0800, you wrote:
Ceki, Did we decide to adopt all/some of the changes Chris proposed for v1.3?-Mark > -----Original Message----- > From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 12:42 PM > To: Log4J Developers List > Subject: Re: Large Memory usage while using log4j > > > > The following thread might be relevant: > > http://marc.theaimsgroup.com/?l=log4j-dev&m=103366188809758&w=2 > > > > At 15:35 18.12.2002 -0500, you wrote: > > > On my project we have been heavily utilizing log4j > as our logging > > solution. > >Recently we ran our code under very heavy load so as part of our > >optimization we wrote code to extract the log4j logging > calls from our > >source. We did this in hopes of reducing some of the overhead of > >concatenation strings together thus squeezing out some > performance gain. > > > > Much to our surprise the greatest impact was in > memory usage, our > > memory > >usage went from 1 gig to 100 meg. This order of magnitude decrease in > >resource usage caught our attention to say the least. How > might we be miss > >using the log4j tool to cause such large memory consumption? > > > > We are performing small scale experiments trying to > duplicate the > > essence > >of the problem but have had little success so far. Any help > or direction > >will be much appreciated. > > > >Thanks, > >Jim > > -- > Ceki > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>