Don't log 127.0.0.1 and improved error logging.