'Records the IP and some more data for the given revision and the
request headers.'

def log(self, revision, headers, data):

    self.create(revision=revision, ip=headers.get('REMOTE_ADDR'), user_agent=headers.get('HTTP_USER_AGENT', ''), referrer=headers.get('HTTP_REFERER', ''), data=data)
