Add logging to CloudCafe. Fix Horizon IP retrieval.

Left out the logging module before. Also fixed a function call to be an attribute instead so that CloudCafe testing can work.