Made log easier to read. Fixed problems with HTTP publish/get