bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33181] (WebServer 1.4.0) WebSerber`s -_audit: is called 3 times pe


From: T.Somequare
Subject: [bug #33181] (WebServer 1.4.0) WebSerber`s -_audit: is called 3 times per 1 request
Date: Thu, 05 May 2011 01:23:30 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; ja-jp) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1

Follow-up Comment #2, bug #33181 (project gnustep):

Thank you for the fix.


>  I don't understand what the advantage would be of having
> the -audit method return an instance of a class containing 
> the audit information rather than the string to be logged 

I thought this change would enable the delegate to log string in its own
format.
It also enables to suppress too long output , because some client often sends
very long header as user-agent. 
It`s nice for users convenience if  the -description method of it returns
default formatted string like currently returned by -audit.

By the way, I found the WebServer`s -setDelegate: method tests whether the
delegate responds to several selectors,
but -webAlert:for:, -webLog:for:, -webAudit:for: are not tested.
This is a loss of performance, isn`t it ?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33181>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]