removed all the debugging code I had which printed to stdout, I've now got a log handler which is available on client