[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Re: log4j slows down on OSX 10.2.4
From:       "Jason Bodnar" <jason () shakabuku ! org>
Date:       2003-02-27 23:08:31
[Download RAW message or body]

On Thu, 27 Feb 2003 23:44:05 +0100, Ceki Gülcü wrote
> At 04:38 PM 2/27/2003 -0600, you wrote:
> >On Thu, 27 Feb 2003 23:29:37 +0100, Ceki Gülcü wrote
> > > Jason,
> > >
> > > Are you using the %L, %F, %M, %C conversion specifiers in
> > > PatternLayout? Those are known to have a tremendous impact on
> > > certain platforms.
> >
> >Nope. This is all I'm doing:
> >
> >logger.setLevel(Level.DEBUG);
> >ConsoleAppender conApp = new ConsoleAppender(new TTCCLayout());
> >conApp.setThreshold(Level.DEBUG);
> >conApp.setName(CONSOLE_DEBUG_APPENDER);
> >logger.addAppender(conApp);
> >logger.debug("Turned on console debugging.");
> 
> The conApp.setThreshold(Level.DEBUG); call is superfluous because a 
> threshold of DEBUG on an appender is not any different than the 
> default (no threshold). However, it should not have any measurable 
> impact on performace.
> 
> Could it be that the ConsoleAppender is very slow on OSX?

If I set the log level to something above debug I still experience the same
slow down. But, it's not for all OSX. Works fine on 10.1.3. Doesn't work on
10.2.4. Makes me thing Apple did something to their JVM.


--
Jason Bodnar
jason@shakabuku.org
http://www.shakabuku.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic