I have a large J2EE web application . From
performance(speed & memory space) point of view
what is the best scenario to use ?
        1)Use one logger for each class ( this is a common
practice but 
                doon't you think that  it is heap-consuming ).
        2)Use one logger instance at the application level,
every class
          has a reference to it.(I think it may slow down the
application since log requests need to wait to get
          the lock of the Logger object assuming that a lot
of Logger methods are synchronized)
          
Thanks


                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

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

Reply via email to