Are you sure it's log4j which is causing the problem? ;-)

In other words, what happens if you remove it?


Robbie

-----Original Message-----
From: Pete Stokes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 9:38 AM
To: Log4J Users List
Subject: Re: performance problems IBM JVM


I took out the log4j bits and changed Layout class to SimpleLayout. Even 
tried that immediateFlush thing, but to no success! The app on the 
iSeries performed *slightly* better, i.e. avg mean time for pages = 
25sec rather than 27sec. Tomcat gets sub half second consistently.

I was really hoping this was going to be our magic quick fix! :(

<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
   <param name="File" value="InsureFaces.log"/>
   <param name="MaxFileSize" value="500KB"/>
   <layout class="org.apache.log4j.SimpleLayout">
   </layout>

Pete.



Tim Williams wrote:
> My understanding is that it is the creation of an Exception that is
> expensive (because of the calculation of stacktrace information ?).  The
> actual throwing is less expensive.  Isn't it that log4j uses the
stacktrace
> data to intelligently mine information.  So even though it never throws
the
> exception the overhead of creation is still incurred.
> 
> ..then again I could be wrong :)
> 
> Tim.


****************************************************************************
*******
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
****************************************************************************
*******
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to