fix a funny bug : after a SIGHUP, log entry for cgi call was display on the HTTP response instead of being written in the logfile