tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: mod_jk logging buffer
Date Fri, 12 Aug 2005 16:45:04 GMT
Jean-frederic Clere wrote:
> Radek Wierzbicki wrote:
> 
>> Hello,
>>
> 
> better :
> if (l->level < JK_LOG_INFO_LEVEL || level==JK_LOG_EMERG || 
> level==JK_LOG_ERROR)
> No?
>

Flush should not be executed for INFO level. It slows the things
down by the factor of 2. I agree for ERROR and EMERG.
DEBUG and TRACE uses fflush so the order of messages can be traced,
but that is also dubious because the messages could come from
different threads, so the best would be to use the fflush only
with ERROR and EMERGE levels.

Regards,
Mladen.

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


Mime
View raw message