[pLog-svn] r993 - plog/trunk/class/locale

Oscar Renalias phunkphorce at gmail.com
Tue Feb 8 14:02:44 GMT 2005


In fact, I'm planning to remove all logging... end users should not need it.

But on the other hand it would be very helpful for us in order to
trace and debug issues. I am quite sure that logging, even if disabled
(when using the "null" appender), has a performance overhead that I am
a bit concerned with...

Oscar

On Tue, 08 Feb 2005 14:02:06 +0100, Benjamin Krause <ork at orkland.de> wrote:
> ork at devel.plogworld.net wrote:
> 
> > Author: ork
> > Date: 2005-02-08 12:41:06 +0000 (Tue, 08 Feb 2005)
> > New Revision: 993
> >
> > Modified:
> >    plog/trunk/class/locale/locale.class.php
> > Log:
> > added check if str_replace is really needed.. we reduced the number of
> > calls for str_replace from 1300 (!) to about 100 ..
> > the other str_replace comes from PatternLayout, i'll take a look there
> > too..
> 
> i'm not sure about the logger.. the format is hardcoded in
> logging.properties.php and i'm not sure what kind of logging the final
> will have.
> currently we could just save a couple of calls.. not really worth
> mentioning .. if you plan to have a reduced logging (e.g. less complex
> log format) in the final, it would be worth adding a few extra lines to
> check if the str_replace is needed or not ..
> 
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list