Problem with http-logging in Zope 2.6.1
Hi, I've noticed there is a problem with the http-server log in Zope 2.6.1. I've also noticed I'm not the first to notice this. 2.6 betas seem to contain the fix but I'm loathe to update my productive system. I've traced the error medusa/http_server. Is is correct simply to remove the offending double space in the logging string? ie. self.channel.server.logger.log ( self.channel.addr[0], ' - %s [%s] "%s" %d %d "%s" "%s"\n' % ( name, self.log_date_string (time.time()), self.request, self.reply_code, bytes, referer, user_agent ) ) becomes self.channel.server.logger.log ( self.channel.addr[0], '- %s [%s] "%s" %d %d "%s" "%s"\n' % ( name, self.log_date_string (time.time()), self.request, self.reply_code, bytes, referer, user_agent ) ) Thanx very much Charlie Clark
Charlie Clark wrote:
Hi,
I've noticed there is a problem with the http-server log in Zope 2.6.1. I've also noticed I'm not the first to notice this. 2.6 betas seem to contain the fix but I'm loathe to update my productive system. I've traced the error medusa/http_server. Is is correct simply to remove the offending double space in the logging string?
Dunno, but if this solves a bug, best to submit it as a 'bug with path' to http://collector.zope.org cheers, Chris
participants (2)
-
Charlie Clark -
Chris Withers