Add logging to http server
Debugging
debugging
Logging around API errors