changed logging to be just status codes