cleaner http error logging